Home Java Overview Maven Tutorials

Sunday, 15 January 2017

Download and install java & java editor

Download & Install Java with example

How to download and install java in your machine

For Video Click here

To run the java program first of all you need to download the java.
Click the below link and download JDK & JRE for your machine.
Accept the service agreement radio button and then download the setup as per you OS.
Now select the option as per your Operating system.
For example : If you have windows 32 bit OS then click "Window offline" link a small popup will open now save it & then simply install it.

Verify that java is installed properly or not

1. Open the commond prompt (in windows OS click ctrl+R, after write CMD and hit Enter key)
2. Write the commond
java -version

3. If java is installed you will get result like :
Java version "1.7.0_75"
Java SE Runtime Environment
Java HotSpot Client VM
OR Go to the C drive, then go to program files here your java folder will be available
Like :
c:\Program Files\java\jdk1.7.0_21

Run the Java program in Notepad


Environment variable setup to run the java program in Notepad

Follow the below steps :
0. Go to C drive then program files , select java folder then select JDK folder & copy the complete path (like:C:\Program Files\Java\jdk1.7.0_75)
1.Go to the C drive and create a new folder & give a name to it Like "MYWork".
2. Go to the My computer , right click & select "properties"
Alternative way is :
Go to control pannel --> Select System and Security -->select System
3. Click the link Advanced System Settings a popup of name "System properties" will open
4. In System properties popup go to Advanced option and then click Environment Variable button
5. Under System Variables grid click the New button.
6. In Variable Name textbox enter JAVA_HOME
7. In Variable Value textbox paste the java c drive path that you copied in step 0 and click OK button.
8. Now back to the Environment Variables dialog, look for a variable called Path under the System Variables list, and click Edit
9. Add this;%JAVA_HOME%\bin in the end of variable value text box and click the OK button. enviironment variable Now you have done your environment variable setup.
10. Every program in MYWORK folder will run in Commond prompt.
Create a Java Program & run it in CMD Go to the your C drive & then Folder MY WORK that you have created above.
Open the Notepad & write a simple java program :
public class Test
public static void main(String[] args)
System.out.println("Hello Chandan");
Now save the Notepad by format, here for above example :
Open your CMD
use cd.. commond to exit from folder and cd commond to get into MYWORK folder Write java compile commond javac for example : javac

Write Java Run commondjava for example : java Test
Result : Hello Chandan

Also you can download java editor tool like eclipse & run you java program directly
use below link to download eclipse.

Download eclipse

Direct Download eclipse oxygen for windows 32 bit

select the link as per your OS and download it.After download open the downloaded folder and then click eclipse icon.
Editor will be launched now create you project & your class write the program and run it.
Thanks :)

Tags:How to download and install Java in Window PC


How to run java program in notepad

how to download and install the java,

how to download and install the java in windows,

java tutorial for beginner,

how to run java program from commond prompt,

how to set environment variable for jdk,

how to set environment variable for java,

how to verify that java is properly installed,

how to download java editor,

how to run java program in java editor,

how to run java program in eclipse editor,


  1. Amazing Article, thank you!. I am very glad to read your informative & practical blog. Kindly keep updating your blog.
    Java Developer is a wonderful career for IT students.To start Dream Career to become a Java developer learn from
    Java Training in Chennai
    . or learn thru Java Online Training from India .

  2. I appreciate that you produced this wonderful article to help us get more knowledge about this topic. I know, it is not an easy task to write such a big article in one day, I've tried that and I've failed. But, here you are, trying the big task and finishing it off and getting good comments and ratings. That is one hell of a job done!
    Data Science training in rajaji nagar
    Data Science with Python training in chennai
    Data Science training in electronic city
    Data Science training in USA
    Data science training in bangalore

  3. Thanks to share this information
    It will be very helpful for us.
    Software Training institute in delhi
    Software training course in delhi
    It training institute in delhi
    Hardware training course in delhi
    Software programming training in delhi
    Best Training Institute for IT Software, Hardware, Networking Courses in Delhi, Noida & Gurgaon
    Cont: 9311002620


  4. Nice blog,I understood the topic very clearly,And want to study more like this.
    Data Scientist Course