GoogleCloudPlatform / appengine-plugins

A client Java library to manage App Engine Java applications for any project that performs App Engine Java application management. For example, the Maven, Gradle and Eclipse App Engine plugins, custom user tools, etc.
Apache License 2.0
36 stars 25 forks source link

Fix Kokoro windows build script from environment change #911

Closed emmileaf closed 1 year ago

emmileaf commented 1 year ago

Script needs to point to a different location for Java 8 https://github.com/GoogleCloudPlatform/appengine-plugins-core/blob/50403ccc2c6d00de72c26b7398f89cad8d3fb530/kokoro/continuous.bat#L4

Error: JAVA_HOME is set to an invalid directory. 
JAVA_HOME = "c:\program files\java\jdk1.8.0_152" 
Please set the JAVA_HOME variable in your environment to match the 
location of your Java installation.