Java Full Course JFC0101 - Setup - Install JDK 11: Step-by-Step for Beginners to Install on Windows

Опубликовано: 26 Май 2026
на канале: Xorz
105
3

Reference: http://edu.xorz.in/java/java-full-course-j...

Go to the Oracle website https://www.oracle.com/in/java/technologie... and download the JDK 11 installer for Windows.

Run the installer and follow the prompts to install the JDK.

Once the installation is complete, open the command prompt and run the command "java -version" to verify that the JDK is properly installed and to see which version of Java is currently set as the default.

If you want to use a different version of Java, you can set the JAVA_HOME environment variable to the location of the JDK installation, and then add the bin directory of the JDK to your system's PATH variable.

To set the JAVA_HOME variable, open the Control Panel and go to System and Security System Advanced system settings. In the Advanced tab, click on "Environment Variables". Under System variables, scroll down and find the "JAVA_HOME" variable and set it to the location of the JDK installation e.g. C:\Program Files\Java\jdk-11.0.9

To add the JDK's bin directory to the PATH variable, find the "Path" variable under "System variables" and click on "Edit". Then click on "New" and add the bin directory of the JDK installation e.g. C:\Program Files\Java\jdk-11.0.9\bin

Restart any open command prompt windows for the changes to take effect.