How to Install Java Development Kit(JDK) on Windows

--

For developing Java applications you need to install JDK on your machine. For that, you should complete the following steps.

  1. You must download the latest JDK from this url for Windows.
  2. If you download the .exe file, you can double click and install the JDK on your machine.
  3. After installation process is done you must add JAVA_HOME to PATH variables.
  • For that, you should define a JAVA_HOME variable. Its value should be JDK root folder like “C:\Program Files\Java\jdk___VERSION”.
  • After you create JAVA_HOME variable, you can add to PATH as “%JAVA_HOME%\bin”.
  • To control this process you can open command prompt on Windows and write following command.
java -version
  • If you see the following image, it means JDK installed correctly.
Command Prompt on Windows

Thank you for reading! 🙏 😄

--

--