From 48c52c2fd67ea2579ce5f4b9dd0d491a54d0a5cb Mon Sep 17 00:00:00 2001 From: Henrik Nord Date: Tue, 21 Apr 2015 14:02:27 +0200 Subject: update java version --- erts/configure.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/erts/configure.in b/erts/configure.in index 481dfe405e..9d88d5849a 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -4734,11 +4734,11 @@ fi AC_CHECK_PROGS(JAVAC, $check_javac) if test -n "$JAVAC"; then dnl Make sure it's at least JDK 1.5 - AC_CACHE_CHECK(for JDK version 1.5, - ac_cv_prog_javac_ver_1_5, + AC_CACHE_CHECK(for JDK version 1.6, + ac_cv_prog_javac_ver_1_6, [ERL_TRY_LINK_JAVA([], [for (String i : args);], - ac_cv_prog_javac_ver_1_5=yes, ac_cv_prog_javac_ver_1_5=no)]) - if test $ac_cv_prog_javac_ver_1_5 = no; then + ac_cv_prog_javac_ver_1_6=yes, ac_cv_prog_javac_ver_1_5=no)]) + if test $ac_cv_prog_javac_ver_1_6 = no; then unset -v JAVAC fi fi -- cgit v1.2.3