How to install Java JDK in Windows 10? [QUICK GUIDE]

2 minute read
How to install JDK in Windows 10?

Home » Windows » How to install Java JDK in Windows 10? [QUICK GUIDE]

Java is an object-orientated programming language that programmers develop Java software with. To develop Java software, programmers need to install a JDK (Java Development Kit) package. Java SE 12 is the latest JDK development kit for Windows, Linux, and macOS platforms. And, today, we’ll show you how to install JDK in Windows 10.

Before installing JDK, check that your platform meets the system requirements for Java SE 12. Java SE is compatible with the Windows 10, 8, and 7 platforms. However, JDK 12 is not compatible with any 32-bit Windows platforms.

To check Win 10 system architecture matches JDK 12’s system requirements, press the Windows key + S hotkey. Enter the keyword ‘system’ in the search box that opens. Click System to open the window in the snapshot directly below. Users can’t utilize JDK 12 if the System type detail on that window is 32-bit.

Windows 10 system details how to install jdk windows 10

How can I install JDK 12?

1. Installing Java SE 12

  1. To install Java SE 12, open the Java SE Downloads page in a browser.Java SE Download button how to install jdk windows 10
  2. Click the Java Download button at the top of the page.
  3. Select the Accept Licence Agreement option on the next page.
  4. Then click jdk-12.02_windows-x64_bin.exe to download the exe installer for JDK 12.
  5. Press the Windows key + E hotkey, and open the folder the JDK installer downloaded to.
  6. Then right-click jdk-12.02_windows-x64_bin.exe and select Run as administrator to open the Java SE12 setup wizard.The Java SE installer how to install jdk windows 10
  7. Press the Next button.
  8. Users can click Change to select an alternative folder to install Java SE 12 in.
  9. Select the Next option to install Java SE 12.

You installed Java but the update pop-up bothers you? Here’s how to make it stop.


2. Set Up a Path Environment Variable

  1. After installing JDK 12, users should also set up a permanent path variable for it. To do that, open the Run accessory by pressing the Windows key + R.
  2. Enter ‘Control Panel’ in Run’s text box and click OK to open the window shown directly below.The Control Panel how to install jdk windows 10
  3. Select System in Control Panel.
  4. Click Advanced system settings to open the window in the shot directly below.System Properties window how to install jdk windows 10
  5. Press the Environment Variables button to open the window shown below.The Environment Variables window how to install jdk windows 10
  6. Select the PATH variable in that window, and click the Edit button.The Edit environment variable window how to install jdk windows 10
  7. Thereafter, click the New button on the window shown directly above.
  8. Then enter the full JDK 12 bin folder path, which might be something like C:Program FilesJavajdk-12bin.
  9. Click the OK button after entering the bin folder path.
  10. Users can check if JDK 12 is fully installed by pressing the Windows key + X hotkey and selecting Command Prompt. Enter ‘java -version’ in the Command Prompt, and press the Return button. The Command Prompt will then provide Java version details as shown directly below.The Java -version command how to install jdk windows 10

So, that’s how users can install JDK 12 in Windows 10. Thereafter, users can compile their Java code text files with the javac command.

RELATED ARTICLES TO CHECK OUT: 

Discussions

Next up

Scroll bar is missing in Chrome on Windows 10 [FIX]

Alexandru Voiculescu By: Alexandru Voiculescu
2 minute read

Google Chrome is the most popular browser out there. It is a reliable tool to surf the Internet and has many great features. However, nothing […]

Continue Reading

What to do when your Uplay achievements are not syncing

John Taylor avatar. By: John Taylor
2 minute read

Uplay is an amazing game distribution platform created by Ubisoft. It can be used to buy and download games as well as DLCs. It can […]

Continue Reading

FIX: Ubisoft server unavailable

John Taylor avatar. By: John Taylor
2 minute read

The market is filled with game distribution platforms like Steam, Epic Games Store or GOG. As such, some gaming giants have decided to build their […]

Continue Reading