+ 5

How to compile the java code using cmd??

25th Feb 2019, 1:41 PM
Dhan Bir Sunwar
Dhan Bir Sunwar - avatar
2 Respuestas
+ 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
26th Feb 2019, 12:20 AM
Lev Tolstoy SPB
Lev Tolstoy SPB - avatar