configure the jre for google-java
-config:
-
Download and install the latest version of Java Runtime Environment (JRE) from the official website.
-
Open the Google Cloud SDK Shell.
-
Type "java -version" to check if Java is installed on your computer.
-
Type "setx /m JAVA_HOME "C:\Program Files\Java\jre
" to set the JAVA_HOME environment variable. Replace " " with the version of JRE you installed. -
Type "setx /m PATH "%PATH%;%JAVA_HOME%\bin" to add the Java bin directory to the system PATH variable.
-
Restart the Google Cloud SDK Shell.
-
Type "java -version" again to verify that the JRE is properly configured
原文地址: https://www.cveoy.top/t/topic/f4xC 著作权归作者所有。请勿转载和采集!