In this post I have added a simple video to show ” how to write a simple hello world program in Java” . There are not too many steps but when you write a program in eclipse , it turns out to be a lot easy than programming manually.
Manually programming in java includes steps like
- Downloading and installing JDK.
- Opening a text editor like Notepad and writing a program.
- Saving a program in bin folder of jdk. Example-C:\Program Files\Java\jdk-14.0.1\bin
- Or you can run Java program anywhere by setting a path. Example:-set path=C:\Program Files\Java\jdk1.6.0_23\bin
- Opening Command prompt and setting its location to the folder where you have saved your Java program.
- Compiling it using command Javac ” Filename.java”.
- Running it with java “filename”.
I am adding a video below which clearly shows steps to run Java program manually.
For programming in eclipse you just have to download eclipse ide .I have also added a video which will help you program a simple Java program in Eclipse IDE.
Feel free to comment and subscribe my channel.