How to Run Java Program in Command Prompt (JDK Installation)

Published: 14 December 2017
on channel: Coder Sprint
55,018
like

This video is about setting up Java Development Kit for java programing in Command Prompt. With this, you donot require any IDE for programming.

Compiling and running/execute java program:
(first go to folder(in cmd) where your HelloWorld.java is present.)
javac HelloWorld.java (This will compile .java file and produce .class file)
java HelloWorld (This will execute java compiled file.)

Command prompt tips:
cd = change directory; ex: cd Desktop
dir = directory listing; it shows all files present in current directory/folder
cd.. = to go back to previous folder
E: = To change drive, simply type drive letter and :
exit = close command prompt

EduPark Krupesh
-Krupesh Anadkat.




• Music Licence:
Happy Life by FREDJI   / fredjimusic  
  / fredjimusic  
Music promoted by Audio Library    • Happy Life – FREDJI (No Copyright Music)  

• Contact the artist:
contactfredji@gmail.com
  / fredjimusic  
  / freddeanderson  


On this page of the site you can watch the video online How to Run Java Program in Command Prompt (JDK Installation) with a duration of hours minute second in good quality, which was uploaded by the user Coder Sprint 14 December 2017, share the link with friends and acquaintances, this video has already been watched 55,018 times on youtube and it was liked by like viewers. Enjoy your viewing!