How to Download JDK in Windows 10: A Step-by-Step Guide

The Java Development Kit (JDK) includes the tools needed to compile and run Java applications. Choose a JDK distribution and version that matches your project, then download it from the distribution vendor’s official site rather than an unofficial software mirror.

Choose the JDK your project requires

Java projects can depend on a specific feature or long-term-support release. Check the project’s documentation, build configuration, course requirements, or development framework before installing a version simply because it is newest.

Install the JDK

  1. Open the official site for the JDK distribution you intend to use.
  2. Select the appropriate Windows installer and processor architecture.
  3. Download and run the installer.
  4. Complete the installation using the options required by your development environment.
  5. Open a new terminal and run java -version and javac -version to verify the active Java tools.

If Windows cannot find Java

Your IDE may locate the JDK automatically, but command-line use can require the JDK’s binary directory to be available through PATH or the development tool to be pointed at the JDK installation directory. Avoid deleting or replacing environment variables you do not understand.

Windows 10 status

Normal Windows 10 support ended October 14, 2025. Also verify that your chosen JDK vendor still supports the Windows version you are using.

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy