Install Java on Windows

To set up the environment for Java is quite easy. Let’s learn how to download and install Java. With that, we will also learn how to set the JDK path and verify the successful installation of Java.


Latest Update: Install Java on Windows


Let us first see how to download and install JDK:

Download and Install JDK

Java Development Kit (JDK) is available for free from the Oracle website and is needed to write and run Java programs. Learn how to install Java here.

Step 1- Firstly, download Java JDK.

After reaching the above link, go to Java Platform, Standard Edition and find the latest update number. The latest JAVA JDK is Java SE 8u144.

Go to the section and click JDK Download.

The same is shown in the following screenshot,

Download Java JDK

After clicking the JDK Download above, you will reach the Java SE Development Kit 8 Downloads section.

Click on Accept and select the JDK for the OS version you’re working on. We’re working on 64-bit Windows 10 OS, so we will download the 64-bit JDK Windows version.

Click jdk-8u144-windows-x64.exe as shown below,

Download Java SE Development Kit 8

Click on the file,

JDK Installation begins

After clicking Next above, you will get an option to change the location of the JDK installation. Leave it as it is, and the JDK will install in the location: C:\Program Files\Java\jdk1.8.0_144\

JDK Installation location

After clicking Next above, the installation continues,

JDK Installation Progress

The Java Setup continues,

Java Setup Progress

The JDK installation completed successfully,

JDK Installation successfull

Now go to the location and check the installation folder. The installation is successful if you can find the JDK and JRE versions,

JDK Installation folder

The JDK installation is successful.

Set JDK Path

Go to Control Panel > System > Advanced System Settings > Advanced tab > Environment Variables.

Under System Variable, click Path, then New and add the following JDK path,

C:\Program Files\Java\jdk1.8.0_144\bin

After that, click OK,

Verify JDK Successful Installation

Go to Start > Run> type CMD and open the command prompt

Type java –version and press Enter. If the following is visible, it means the installation is successful,

Verifying JDK Installation

Above, you can see the Java installation is successful, since the installed version 1.8.0_144 information is visible.


If you liked the tutorial, spread the word and share the link and our website Studyopedia with others.


For Videos, Join Our YouTube Channel: Join Now


Read More

Java Introduction and Features
Run Java First Program on Windows
Studyopedia Editorial Staff
contact@studyopedia.com

We work to create programming tutorials for all.

No Comments

Post A Comment