aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2015-04-21 14:02:27 +0200
committerHenrik Nord <[email protected]>2015-04-21 14:02:27 +0200
commit48c52c2fd67ea2579ce5f4b9dd0d491a54d0a5cb (patch)
tree8df763a6ef7b906b1acba2cc5777fb70843ab878
parent6c3f8818f802164869519d58a538e70b1b8cc76c (diff)
downloadotp-48c52c2fd67ea2579ce5f4b9dd0d491a54d0a5cb.tar.gz
otp-48c52c2fd67ea2579ce5f4b9dd0d491a54d0a5cb.tar.bz2
otp-48c52c2fd67ea2579ce5f4b9dd0d491a54d0a5cb.zip
update java version
-rw-r--r--erts/configure.in8
1 files 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