How to Install Java JDK v25.0.2 on Windows 10/11 (2026) | Step-by-Step Guide

Below is a Step-by-Step Guide to Install Java JDK v25.0.2 on Windows 10/11:

Step 1: Download Java JDK

  1. Go to the official Oracle Java download page:
    https://www.oracle.com/in/java/technologies/downloads/
  2. Click on 'Windows'.
  3. Click on download link of 'x64 Installer' – this downloads the file:
    jdk-25_windows-x64_bin.exe

Step 2: Install Java JDK

  1. Double-click the downloaded jdk-25_windows-x64_bin.exe file.
  2. Click 'Yes' if you get a security prompt.
  3. Click 'Next'.
  4. Choose installation location and click 'Next'.
  5. Once installation is complete, click 'Close'.

Step 3: Set JAVA_HOME

  1. Press Win + R, type below and press Enter:
    sysdm.cpl
  2. Go to Advanced tab.
  3. Click Environment Variables.
  4. Under System variables, click on 'New'.
  5. Enter Variable name as:
    JAVA_HOME
  6. Enter Variable value as:
    C:\Program Files\Java\jdk-25.0.2
  7. Click OK → OK → OK.

Step 4: Add Java to PATH

  1. Press Win + R, type below and press Enter:
    sysdm.cpl
  2. Go to Advanced tab.
  3. Click Environment Variables.
  4. Under System variables, select Path and click on 'Edit'.
  5. Click 'New' and paste below:
    %JAVA_HOME%\bin
  6. Click OK → OK → OK.

Step 5: Verify Installation

1. Open Command Prompt and run:

java -version

You should see output similar to:

java 25.0.2 2026-01-20 LTS
Java(TM) SE Runtime Environment (build 25.0.2+10-LTS-69)
Java HotSpot(TM) 64-Bit Server VM (build 25.0.2+10-LTS-69, mixed mode, sharing)

2. Then run:

javac -version

You should see the installed version displayed:

javac 25.0.2

Congratulations! 🎉 You have successfully installed Java JDK v25.0.2 on Windows 10/11.

Comments

Popular posts from this blog

How to Install Geany 2.1 on Windows 10/11 (2026) | Step-by-Step Guide

How to Uninstall Bluefish 2.2.19 on Windows 10/11 (2026) | Step-by-Step Guide

How to Install Visual Studio 2026 on Windows 10/11 | Step-by-Step Guide