+ 1
Iam not getting byte code or class file
when I press javac ExampleProgram.java it takes me to next line and nothing happens
1 Answer
+ 19
javac ExampleProgram.java compiles the source code, it won't show anything in console. Check your root directory, the class file must be created there.
To run a java file in console, type this command after compiling:
java ExampleProgram