Thursday, June 28, 2018

How to install Java Development Kit (JDK) in Windows 10

In this tutorial, we will show how to install the Java Development Kit (JDK) in Windows 10.

  1. Download the Java SE Development Kit 8u162 from the Oracle website here: 
  2. Click on Accept License Agreement and click the appropriate link depending on your operating system. For the purpose of this tutorial, we are downloading the jdk-8u162-windows-x64.exe for the Windows 64-bit operating system.
  3. Run the installer, and click Next twice. This will probably take a lot of time.
  4. During installation, the JRE installer will pop-up, click Next to install. This will also take some time. Click Close when the installation finishes.
  5. Navigate to This PC, OS (C:), Program Files, Java, Bin to confirm the files are there, and click at the end of the path bar. Right-click and click Copy on the context menu.
  6. On the Windows Search bar, type environment and Enter to Edit the system environment variables.
  7. The System Properties window will open. In the Advanced tab, click the Environment Variables button.
  8. In the System Variables section, select the Path and click the Edit button.
  9. Click the New button and paste the folder path you copied earlier. You can use the Ctrl + V keyboard combination. Click OK 3 times.
  10. In the Windows Search bar, type cmd and Enter to open the Command Prompt. Type javac and hit Enter. You should see a list of commands.
  11. Now type javac -version and Enter to see the current Java version installed. This confirms successful installation.
Disclaimer: The content provided in this article is for informational purposes only. You are solely responsible for verifying the information as being appropriate for your personal use.

Whatsapp Button works on Mobile Device only