Friday, August 28, 2015

Install JDK 8 on Windows 10, and set Path

Browse to Oracle Java SE Downloads ( to download the latest JDK.

Check the option to Accept License Agreement, and select the download file. "jdk-8u60-windows-x64.exe" in my case.

Run the downloaded file after download completed. And follow the steps.

After installed JDK, you have to set Path to it.

To set path, search "Environment Variables", click "Edit the system environment variables".

Click on "Environment Variables..."

Select and edit Path

Add the  path of the bin folder of your JDK, "C:\Program Files\Java\jdk1.8.0_60\bin" in my case.

After path set, you can run javac in command prompt.


  1. Any idea why I always get through the same steps but at the end when you hit EDIT > PATH, you receive a box that says Edit System Variable on top. I ALWAYS get a box that says Edit Environment Variable and it has an entire list of items to edit. Your example shows Edit System Variable and only 2 boxes to edit: Variable Name and Variable Value. I have a screen shot if you want to see the different box that I see.


    1. When that window pops up just press the new button and input the file name that you have copied and it should work.

  2. Thanks you so much, I did it, and it worked

  3. i have done each and every step but when i run eclipse it shows errors.. what are the possible reason of that

  4. I have got a new HP laptop and it has come with windows 10 home. After downloading the Java JDK file I double click on it and the pop up box says do you want to make the change to your system and I click yes but after that just nothing happens. I have never used windows 10 before leave alone the home version. Can someone help me out please.

  5. My Windows 10... keeps saying this App can't run on this PC... Why
    I want to install the JAVA SE Development Kit on Windows 10

  6. I followed all the steps but I'm getting this error:

    'javac' is not recognized as an internal or external command,
    operable program or batch file.