How to run java program in command prompt in windows 10

Published: 13 December 2021
on channel: SJ Technology Channel
36
4

how to run java program in command prompt in windows 10
.
Install JDK
For windows
👇👇
https://download.oracle.com/java/17/l...
.
1. Open notepad or notepad++
2. Save class name as filename.java
3. Open command prompt
4. Set directory which your file located
(Install JDK in your computer and locate drive C: in program files/ java/JDK version/bin copy the directory and paste in set path)
5. set path=paste directory
6. javac filename.java
7. java filename
.
.
.
Subscribe our channel
Like and share


Watch video How to run java program in command prompt in windows 10 online without registration, duration hours minute second in high quality. This video was added by user SJ Technology Channel 13 December 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 36 once and liked it 4 people.