-
Bug
-
Resolution: Fixed
-
P3
-
10
-
None
-
b25
configure for jdk10 is giving me the following error:
configure: Found potential Build JDK using configure arguments
configure: Potential Build JDK found at /local/ws/jdk10/hs6/build/linux-x64/images/jdk is incorrect JDK version (java version "10-internal"); ignoring
configure: (Your Build JDK must be version 9)
Note I was able to configure and build linux-x64 (without using --with-build-jdk), but for linux-x64-debug I'm adding the following:
--with-build-jdk=`pwd`/build/linux-x64/images/jdk
Seems the following code should be updated to 10:
[FOUND_CORRECT_VERSION=`echo $BUILD_JDK_VERSION | $EGREP '\"9([\.+-].*)?\"'`]
if test "x$FOUND_CORRECT_VERSION" = x; then
AC_MSG_NOTICE([Potential Build JDK found at $BUILD_JDK is incorrect JDK version ($BUILD_JDK_VERSION); ignoring])
AC_MSG_NOTICE([(Your Build JDK must be version 9)])
BUILD_JDK_FOUND=no
else
configure: Found potential Build JDK using configure arguments
configure: Potential Build JDK found at /local/ws/jdk10/hs6/build/linux-x64/images/jdk is incorrect JDK version (java version "10-internal"); ignoring
configure: (Your Build JDK must be version 9)
Note I was able to configure and build linux-x64 (without using --with-build-jdk), but for linux-x64-debug I'm adding the following:
--with-build-jdk=`pwd`/build/linux-x64/images/jdk
Seems the following code should be updated to 10:
[FOUND_CORRECT_VERSION=`echo $BUILD_JDK_VERSION | $EGREP '\"9([\.+-].*)?\"'`]
if test "x$FOUND_CORRECT_VERSION" = x; then
AC_MSG_NOTICE([Potential Build JDK found at $BUILD_JDK is incorrect JDK version ($BUILD_JDK_VERSION); ignoring])
AC_MSG_NOTICE([(Your Build JDK must be version 9)])
BUILD_JDK_FOUND=no
else
- relates to
-
JDK-8198538 --with-build-jdk not working with JDK 11
-
- Closed
-