changeset 45835 | 5f3f7ae12356 |
parent 45051 | 676afd13dea5 |
--- a/common/autoconf/boot-jdk.m4 Thu Jul 06 20:13:39 2017 +0000 +++ b/common/autoconf/boot-jdk.m4 Fri Jul 07 03:09:23 2017 +0000 @@ -318,7 +318,7 @@ AC_SUBST(JAVAC_FLAGS) # Check if the boot jdk is 32 or 64 bit - if "$JAVA" -d64 -version > /dev/null 2>&1; then + if "$JAVA" -version 2>&1 | $GREP -q "64-Bit"; then BOOT_JDK_BITS="64" else BOOT_JDK_BITS="32"