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 https://soundcloud.com/fredjimusic
https://www.facebook.com/fredjimusic/
Music promoted by Audio Library https://youtu.be/u4PI5p5bI9k
• Contact the artist:
[email protected]
https://www.facebook.com/fredjimusic/
https://www.instagram.com/freddeanderson/
Download
0 formats
No download links available.
How to Run Java Program in Command Prompt (JDK Installation) | NatokHD