How to Run Java Program in Command Prompt for Windows/Mac Os - 2018

Опубликовано: 05 Август 2026
на канале: Vamsi Krishna Ykuntam
652
23

The video shows you how to install the java and how a java program can run in the Command Prompt or Execute Java Program Using Cmd.

Steps:
1.Download and install Java Development Kit at the following link:
http://www.oracle.com/technetwork/jav...

2. Search for the javac file location in C Drive and copy the path.

3. After copying the path search for the Environment variables in windows and tap Environmental Variable settings.

4. Click on the path and edit it.

5. Paste the copied path of the Javac file and tap on Ok.

6. Now open the cmd and successfully run your Java Programs

Follow Us:
Facebook:   / vamsikrishna.ykuntam  
Linkedin:   / vamsikrishnaykuntam  
Twitter:   / vkykuntam  

Thank you for watching and don't forget to subscribe and share the video.