+ 1

How to run java test file in cmd?

I have already install jdk in my pc but i don't know how to run java test file.Please some one

23rd May 2018, 4:17 PM
Nil00Rythm
Nil00Rythm - avatar
2 Antworten
+ 15
To make sure your file name is HeloWorld.java , (not HelloWorld.java.txt ), first choose "Save as file type:" All files, then type in the file name HelloWorld.java. This displays the directory contents. You should see HelloWorld.java among thefiles. (use the JDK folder for the version installed on your system). http://www.skylit.com/javamethods/faqs/javaindos.html
23rd May 2018, 4:19 PM
Abhivarshini Maddala
Abhivarshini Maddala - avatar
+ 1
Thanks you alot
23rd May 2018, 4:23 PM
Nil00Rythm
Nil00Rythm - avatar