Java – Download and Install JDK on Windows 10

Step 1:
You can visit Oracle Help Center for Installation of the JDK and the JRE on Microsoft Windows Platforms and to download JDK visit download page. Click on the version you want for your system, it will ask for Terms and Conditions approval, once confirmed it will start downloading files.
I have downloaded “jdk-15_windows-x64_bin.exe” then installed it in my system.

Step 2:
To install JDK, open the download folder of your windows 10 system. Double click on the executable file (in my case “jdk-15_windows-x64_bin.exe“). Windows will ask for permission to allow installation in the system, once allowed (by clicking Yes), the system will process further. Follow the steps during installation process as shown below in images:

Step 3:
After the installation is complete, delete the downloaded file to recover the disk space. (Optional)

Step 4:
You can verify your JDK installation by visiting your installation path of JDK. In my case it is “C:\Program Files\Java\jdk-15“.

Step 5:
Setting the PATH Environment Variable, so that Java is accessible globally in the system.

To set the PATH variable permanently, add the full path of the “C:\Program Files\Java\jdk-15\bin” directory to the PATH variable.

  1. Select Control Panel and then System.
  2. Click Advanced and then Environment Variables.
  3. Add the location of the bin folder of the JDK installation to the PATH variable in System Variables, as a new line entry.
  4. Click OK for “Edit environment variable window”
  5. then click OK for “Environment Variables window”
  6. then click OK for “System Properties window”
  7. and close the System Control Panel.

Leave a Reply

Your email address will not be published. Required fields are marked *

© 2024 Faraz Jafri All rights reserved. Privacy Policy

Proudly powered by WordPress. Special thanks to Bootstrap, FontAwesome & Open Source Community.