How to Install Java JDK

Table of Contents

In this tutorial, we will learn how to install Java on your system.

So first, let us have look at the procedure of installing Java JDK on your computer and how to set the path of it.

Downloading Java JDK

Downloading  page for Java JDK
This will be the page opened.

Once you are on the download page, select the desired version which is supported by your computer.

  • Now scroll downwards and select the best suitable option to be downloaded from the list.
List of Downloading options
List of the various download option
  • On selecting the option, check the box opened in the pop-up window and simply download it.
Click on download button and it will start the downloading automatically
Click on the download button and it will start the downloading automatically
  • Once Downloaded, run the execution file or install it.
Start Installing
Start Installing

Setting up the environment

  • Once you have finished the installation process, now we need to set up the environment. For that, you have to look for the location of the folder containing java.exe and javac.exe.
Locating java.exe and javac.exe file address
Copy the address to be used to configure the environment
  • Now open up environment setting by simply searching “environment” on the search tab.
Open environment variables
Now click on the Environment variables
Adding the path value to the user variables
Click on new to add a path or if previously created another path exists, then double-click on the path of User Variables.
Add the path and click OK
 Add the path and click OK
  • Now open Command Prompt to check whether we have installed it perfectly or not. For that, you have to write the command “java -version” and press enter to execute the command.
Check it whether we have installed it successfully or not
Checking whether we have installed it successfully or not.
  • So this is it we have successfully installed Java JDK on our computer.

Watch this video of Java installation

Previous Features of Java
Next Hello World

Leave a Reply