Temurin-build: Windows build machines default to --with-boot-jdk=C:openjdkjdk-8 if JDK7_BOOT_DIR invalid

Created on 14 Oct 2020  路  2Comments  路  Source: adoptium/temurin-build

Seen on JDK8 builds when JDK7_BOOT_DIR was set to /cygwin/c/openjdk/jdk-7 when it was really at /cygdrive/c/openjdk-jdk7 (which I think was wrong, so I've changed it in this PR)

We should look at where this is coming from as it's clearly gibberish that doesn't work so we should do something more useful

bug windows

Most helpful comment

If I recall correctly, I had a similar issue when I was setting up Windows, I _think_ the garbage c path is coming from Windows env variable JAVA_HOME.

All 2 comments

If I recall correctly, I had a similar issue when I was setting up Windows, I _think_ the garbage c path is coming from Windows env variable JAVA_HOME.

https://github.com/AdoptOpenJDK/openjdk-build/pull/2119 should also warn of an invalid jdk early since it will try to look at the java version and specification (failing if it can't).

Was this page helpful?
0 / 5 - 0 ratings