Download & Install Java Development Kit JDK in Windows

This tutorial will guide you in step by step how to download and install Java JDK 13 (Java Development Kit) in Windows. The Java JDK 13 allows you to code and run the Java program.

If you installed multiple JDK version on the same PC, we recommend that you install the only latest version of JDK. Before going to download. we need to have the following:

1. Internet browser like Firefox, Google Chrome or Internet Explorer.

2. Internet Connection to download and install.

Download & Install Java JDK 13 in Windows

Follow all the below steps to complete the download and installation of Java Software Development Kit (JDK) in Windows:

1. Visit Oracle download page in your browser and download the latest version of JDK from the following link:

Download & Install Java Development Kit JDK 13

2. Accept License Agreement and download the latest Java JDK for your version (64 bit) of java for Windows.

Download Java Development Kit JDK

The type of installation may depend on your system requirements and platform that you will choose to install.

Once the JDK exe file has been downloaded in your computer from the website, double click on the downloaded exe file and run the installation of Java software on your computer.

3. You must follow all the instructions provided by installation wizard.

4. Once the installation process is completed, check the program files folder of C:/ Drive. This folder must contain a Java folder with JDK and JRE sub-folders. If you see these sub-folders in your C:/ Drive’s program files folder, it means that the installation of Java is completed. Now you can delete the downloaded file to recover the disk space.

5. In the third step, you will have to check the Java configuration to make sure that the Java files are identified by the computer or not. For this, you will have to set the PATH variable permanently for JDK 13 so that it is persistent after reboot.

If you do not set the PATH variable, then you must have to specify the full path every time to execute program that you run it.
For example:

C:> “C:Program FilesJavajdk-13binjavac”

So, let’s set the full path in the system.

How to set Path and Classpath in Environment Variables for Java?

Once the Java Software Development Kit has been installed successfully, the next step is to set up a Path and Classpath variables permanently in your system. The Path variable gives the location of bin folder and Classpath variable gives the location of Java files. 

Whenever Java programs are compiled and executed on the computer, the computer needs to know where java files are located and what is respective PATH of bin folder?
So, the Java file location (library files) is provided through the ClASSPATH variable.

You can follow these steps to set the PATH variable on Microsoft Windows:

1. Go to the Start menu and navigate to the Control panel.
2. In the Control panel, you will see a System icon. Now double-click on this icon.
3. Go to the Advanced system setting and click on it. You can see the below screenshot.

Advanced system setting for JDK

4. A system properties dialog window box will be displayed as shown in the below screenshot.

Environment variables

5. Click on the Environment variables.
6. Now click on the New button in System variables. You will see a new window dialog box “New System Variable” as shown in the below screenshot.

System variables

7. Write “PATH” as a variable name and enter the location of the JDK bin folder in the variable value. A typical value for the PATH variable is shown below:

C:Program FilesJavajdk-13binNow click on OK button.

Note: In case you have already created a PATH variable in your system, edit the PATH variable to

PATH = <JDK installation directory>bin;%PATH%; Here, %PATH% join the existing path variable to our new value. You must have only one bin directory for a JDK in the path at a time.

8. You can follow similar steps to set CLASSPATH. Write “CLASSPATH” as a variable name and enter the location of the JDK lib folder in the variable value. The following is a typical value for the CLASSPATH variable:

C:Program FilesJavajdk-13lib Now click on OK button.

Final words
Hope that this tutorial will have helped to download and install Java JDK 13 in your PC.
Thanks for reading!

Leave a Comment