Javatpoint Logo
Javatpoint Logo

How to Download Java

Java is a general-purpose, object-oriented programming language used in different domains. To download Java, we need to download and install the JDK (Java Development Kit). It provides a run time environment for Java. It contains libraries and classes that are necessary to run a Java program. The latest version of JDK is 14. We can download and install multiple versions of JDK in a system. But we recommend you to install the latest version only. In this section, we will learn how to download and install the latest version of Java.

Java provides the following three editions:

  • Java SE: In Java SE, SE stands for Standard Edition. It is used to develop stand-alone applications, such as desktop applications.
  • Java EE: In Java EE, EE stands for the Enterprise Edition. It is used to develop enterprise applications, such as web application, socket programming, etc.
  • Java ME: In Java ME, ME stands for Micro Edition. It is used to develop mobile applications and embedded devices software, such as set-top boxes, and other electronic devices.

In this section, we are going to download the Java SE. Follow the steps given below to download the JDK.

Step 1: Go through the link https://www.oracle.com/in/java/technologies/javase-downloads.html. You will land on the Java Standard Edition (SE) Downloads page.

How to Download Java

Step 2: Click on the JDK Download link under the Oracle JDK section.

How to Download Java

When we click on the link, shown above, we land on Java SE Development Kit 14 Download page that shows the JDK download link for the different operating systems.

Step 3: Click on the JDK download link according to your operating system.

In our case, we are using Windows operating system, so we are clicking on the jdk-14.0.1_windows-x64_bin.exe. It downloads the .exe file.

How to Download Java

If you want to download the zip file, click on the second link.

Step 4: Check the box to accept the License Agreement. It activates the download button.

How to Download Java

Step 5: Click on the Download jdk-14.0.1_windows-x64_bin.exe button. It starts downloading the JDK 14.

How to Download Java

Step 6: Double click on the downloaded .exe file. It asks for changes on your computer. Click on the Yes button to run the setup.

Step 7: In the installation wizard window, click on the Next button.

How to Download Java

Step 8: Click on the Change button if you want to change the installation directory. By default, it installs JDK on the location C:\Program Files\Java\jdk-14.0.1. Otherwise, click on the Next button. It starts the installation of JDK.

How to Download Java

Step 9: When Java is successfully installed on your system it shows a message Java SE Developments Kit 14.0.1 (64-bit) Successfully Installed. Click on the Close button.

How to Download Java

We have installed Java successfully. To check the Java is successfully installed or not, follow the steps given below.

Step 10: Go to the bin folder of the JDK and copy the path. In our case path is C:\Program Files\Java\jdk-14.0.1\bin.

Step 11: Open the Command Prompt and type the following commands:


How to Download Java

Step 12: Type the command java ?version to check the Java version. It ensures that Java is successfully installed in your system.

How to Download Java

Now, you can execute any Java program.


Next TopicJava Tutorial




Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA