+ 1
How do I compile java programmes using CMD(Command Prompt)
Someone please tell me what do I have to type on the CMD window to compile my java programme(To be honest I don't know anything about CMD)
2 Réponses
+ 3
first -> Download jdk and follow intruction in this course
create your .java program and save to folder
open cmd and find your java project folder location(search google if u dunno how to do it)
if u can find the location, then type-> javac yourprogramname.java
enter
last ,type-> java yourclassname
0
press windows + r and type cmd