+ 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)

28th Aug 2016, 3:19 PM
Devansh Das
Devansh Das - avatar
2 Respuestas
+ 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
28th Aug 2016, 6:44 PM
Farhan Sindy
Farhan Sindy - avatar
0
press windows + r and type cmd
28th Aug 2016, 5:49 PM
Martin SENCE
Martin SENCE - avatar