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
- Go to the official Oracle Java download page:
https://www.oracle.com/in/java/technologies/downloads/ - Click on 'Windows'.
- Click on download link of 'x64 Installer' – this downloads the file:
jdk-25_windows-x64_bin.exe
Step 2: Install Java JDK
- Double-click the downloaded
jdk-25_windows-x64_bin.exefile. - Click 'Yes' if you get a security prompt.
- Click 'Next'.
- Choose installation location and click 'Next'.
- Once installation is complete, click 'Close'.
Step 3: Set JAVA_HOME
- Press Win + R, type below and press Enter:
sysdm.cpl
- Go to Advanced tab.
- Click Environment Variables.
- Under System variables, click on 'New'.
- Enter Variable name as:
JAVA_HOME
- Enter Variable value as:
C:\Program Files\Java\jdk-25.0.2
- Click OK → OK → OK.
Step 4: Add Java to PATH
- Press Win + R, type below and press Enter:
sysdm.cpl
- Go to Advanced tab.
- Click Environment Variables.
- Under System variables, select Path and click on 'Edit'.
- Click 'New' and paste below:
%JAVA_HOME%\bin
- 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
Post a Comment