Home » Core Java » How to download Java 14 for Windows 10

About Kevin Anderson

Kevin has been tinkering with computers for longer than he cares to remember.

How to download Java 14 for Windows 10

In this example, we will show you how to download and install Oracle’s Java Platform, Standard Edition Development Kit 14.0.2 (Oracle JDK 14) on a Windows 10 system.

1. Download the installer

Start by logging into an account with Administrator privileges. Next, send your favorite Web browser to the Java SE Development Kit 14 Downloads page on the Oracle Web site. Scroll down to find the download link for the Windows x64 Installer and click on it.

jdk - Java SE 14 Downloads page detail
Fig. 1: Java SE 14 Downloads page detail

A dialog appears, asking you to accept the terms of the Oracle license agreement. Select the check box to confirm your acceptance of the license and click the “Download…” button to start the download.

jdk - License Agreement dialog
Fig. 2: License Agreement dialog

NOTE: Newer versions of Chrome (82 and higher) might present you with a warning that the file can’t be downloaded securely. If this happens, continue the download by clicking the “Keep” button.

jdk - Chrome "can't download securely" warning
Fig. 3: Chrome “can’t download securely” warning

2. Java Download – Installing JDK 14

Browse to your downloads folder (typically c:\yourusername\Downloads) with Windows Explorer. Look for the installer (it’s called jdk-14.0.2_windows-x64_bin.exe) and run it by double-clicking on it.

Initially you will be presented with a blue-screen dialog asking if you want to allow the installer make changes to your system. Click Yes to continue.

The installation begins with a simple introductory panel; there is nothing to do here but click Next to continue.

jdk - Installer Introductory panel
Fig 4: Installer Introductory panel

Next, you’ll have the opportunity to change the installation folder. Click Next to accept the suggested default and continue:

Fig. 5: Installation folder selection
Fig. 5: Installation folder selection

Now a progress panel appears while the actual installation takes place:

Fig. 6: Installer progress display
Fig. 6: Installer progress display

You’ll see this final panel when the installation has finished. Click Close to exit the installer.

java download - Installation complete
Fig 7: Installation complete

3. Configuring PATH

Adding the JDK 14 binaries directory C:\Program Files\Java\jdk-14.0.2\bin to the system PATH environment variable will greatly increase the convenience of using JDK tools from the command line. Rather than having to specify a full filename path to a tool’s .exe, you’ll be able to enter just the name: e.g., java Hello instead of "C:\Program Files\Java\jdk-14.0.2\bin\java" Hello.

To configure PATH for JDK 14, start by type Environment in the Search box on the Windows Taskbar and choosing “Edit the system environment variables”. The System Properties window appears. From there, click Environment Variables… to open the Environment Variables window. Then look in the System Variables section for Path, click to highlight it and then click Edit… (or just double-click on Path):

java download - Opening Environment variable editor
Fig. 8: Opening Environment variable editor

The Edit environment variable window appears. Click New, then either type or browse to C:\Program Files\Java\jdk-14.0.2\bin. Now click Move Up repeatedly to move it to the top of the list:

java jdk download - Modifying PATH for JDK 14
Fig 9: Modifying PATH for JDK 14

Click OK to close the Edit window, then OK to close the Environment Variables window and save your changes.

NOTE: don’t use Cancel to close the Environment Variables window or else you will lose your changes.

4. Checking the installation

For a quick check of the JDK 14 installation, open a new Command Prompt window and execute the command java -version :

java jdk download - Verifying JDK 14 installation and PATH configuration
Fig. 10: Verifying JDK 14 installation and PATH configuration

The display of Java version "14.0.2" confirms that JDK 14 was successfully installed and that your PATH settings is correct.

5. Additional knowledge about Oracle JDK download

Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

 

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

6. Spring Interview Questions

7. Android UI Design

 

and many more ....

 

Receive Java & Developer job alerts in your Area

 

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments