filmov
tv
How To Install Java Development Kit (JDK) 17.0.2 on Windows 11 x64
Показать описание
In this tutorial, I will show you how to install Java Development Kit (JDK) 17.0.2 on Windows 11 x64.
You should download the JDK installer:
The installed directory is as following:
C:\Program Files\Java\jdk-17.0.2
Setting the environment variables
CLASSPATH = .
The CLASSPATH variable tells the Java runtime environment searches for classes and other resource files. If you want to include the current directory in the search path, you must include "." in the new settings.
JAVA_HOME="C:\Program Files\Java\jdk-17.0.2"
JAVA_HOME tells your OS where there Java installation directory lives.
PATH="%JAVA_HOME%\bin"
The PATH variable specifies where the Java executable directory resides.
Java -version
The output should display a message indicating the Java 17.0.2 version of the language and runtime.
The following is a typical value for the PATH variable:
C:\WINDOWS\system32;C:\WINDOWS;"C:\Program Files\Java\jdk-17.0.2"
#JDK17 #Java17 #JAVASE17
You should download the JDK installer:
The installed directory is as following:
C:\Program Files\Java\jdk-17.0.2
Setting the environment variables
CLASSPATH = .
The CLASSPATH variable tells the Java runtime environment searches for classes and other resource files. If you want to include the current directory in the search path, you must include "." in the new settings.
JAVA_HOME="C:\Program Files\Java\jdk-17.0.2"
JAVA_HOME tells your OS where there Java installation directory lives.
PATH="%JAVA_HOME%\bin"
The PATH variable specifies where the Java executable directory resides.
Java -version
The output should display a message indicating the Java 17.0.2 version of the language and runtime.
The following is a typical value for the PATH variable:
C:\WINDOWS\system32;C:\WINDOWS;"C:\Program Files\Java\jdk-17.0.2"
#JDK17 #Java17 #JAVASE17