320 total views, 7 views today

How to install Java on Windows machine

A step by step guide to download and install Java on Windows machine with screenshot.

1. Download Java

2. Install Java

3. Set Environment Variable

4. Test Java

Download Java

1. Click JDK Download Link to download latest Java

2. This page shows the latest version of Java. Click on the Download button to download the JDK

Click the link Older JDK 8 Version to download older Java 8 version

Click the link Older JDK 7 Version to download Java 7 version

101516_1532_InstallJava1 How to install Java on Windows machine>

3. Download java you required. Here I am downloading JDK for Windows 64 bit OS

101516_1532_InstallJava2 How to install Java on Windows machine>

Install Java

1. Open the downloaded executable file >> The installer will open >> Click Next on the wizard

101516_1532_InstallJava3 How to install Java on Windows machine>

2. Click Next

101516_1532_InstallJava4 How to install Java on Windows machine>

3. Accept the default location and click Next, we can change the location by clicking the button change

101516_1532_InstallJava5 How to install Java on Windows machine>

4. Click Close to complete the installation

101516_1532_InstallJava6 How to install Java on Windows machine>

 

Now Java install is completed.

 

Set Java Environment Variable

1. Open Control Panel >> Click on System >> Click on Advanced System Settings

101516_1532_InstallJava7 How to install Java on Windows machine>

 

2. Click on Environment Variable >> Click New to add a property >> Input below details >> Click Ok

Variable name: JAVA_HOME

Variable Value: Directory where Java installed

101516_1532_InstallJava8 How to install Java on Windows machine>

 

3. Click on Path >> Click Edit >> Click New >> Add entry %JAVA_HOME%\bin >> Click Ok >> Ok >> Ok

101516_1532_InstallJava9 How to install Java on Windows machine>

 

Test Java version

1. Open Windows command prompt >> Input java -version

It displays the java version we just installed

101516_1532_InstallJava10 How to install Java on Windows machine>

 

2. Type echo %JAVA_HOME%

It displays the java install path

101516_1532_InstallJava11 How to install Java on Windows machine>

govindan How to install Java on Windows machine>
Connect me

Govind

Thank you for visiting my personal blog. Myself Govindan, Software Developer by profession since 2006 and hence I started this blog early in 2016 and ever since I've been writing about technologies experienced and learnings of everyday life.

The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.

Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply 🙂
govindan How to install Java on Windows machine>
Connect me
By | 2017-01-14T18:29:48+00:00 October 15th, 2016|Categories: Installation, Java|Tags: , , , , |0 Comments
Like us on Facebook.
Connect!