+ 5
How to compile the java code using cmd??
2 odpowiedzi
+ 15
In Windows. Press win + r , type : cmd , press enter, navigate to you target directory with help of cd and dir commands. For compilation please enter: javac YourJavaSourceCode.java. For running (without .class extension) : java YourJavaSourceCode