How to compile and run Java program on windows | on CMD

Опубликовано: 24 Сентябрь 2022
на канале: Haridas Khambe
164
3

#javaprogram #howtorunjavaprogram #java
#smarttechnology
Hello friends welcome to my channel smart technology 🤓💡

* How to run java program in windows ?
* How to run java program on CMD ?
*How to run java program on Android mobile phone 👇
   • How to run Java program on mobile pho...  

There are multiple ways to run program. We can run job program on different IDE. In this video I am showing you the simplest way to run java program on windows.
Here I am using notepad++ plus editor to write a code and executing by using command prompt in windows.
You can also right the code in notepad.

1) After writing the code save it with a dot(.) Java extension
2) come on to the CMD & go to the directory where you saved your program.
3) set path of JDK bin folder here.
4) enter javac ClassName.java (compile)
5) Run by using Java ClassName
6)done.

#haridas #techbyhari # smarttechknology
If the video is helpful then please like, subscribe and share with your friends