How to get the output of a Java program in black console ?
I have just started learning Java Programming. For practicing Java I am using Netbeans and compiling my program with it. But I am not happy with this compiler. Because i am not getting fun by watching/getting the program output ! I want my Java program output in a console as I get for C and C++. I don't know how can I get the output in console. Is there any other compiler which can provide the Java program output in console ? or is there anyway to get the output in console by using Netbeans ? If you know then please share with me.
One more thing I have tried to compile my Java program with CMD but its not working. Its showing some class error for my java program. But when I compile the same program with Netbeans its compiling without any error.