|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #52617] configure finds java-9 too old |
Date: | Thu, 7 Dec 2017 17:35:31 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Update of bug #52617 (project octave): Status: None => Need Info _______________________________________________________ Follow-up Comment #1: The code that checks version numbers in configure.ac is ## Check Java version is recent enough. AC_MSG_CHECKING([for Java version]) java_version=[`"$JAVA" -version 2>&1 | $SED -n -e 's/^[^ ]* version[^0-9"]*"\([^"]*\)"/\1/p'`] AC_MSG_RESULT([$java_version]) java_major=[`echo $java_version | $SED -e 's/^\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*$/\1/'`] java_minor=[`echo $java_version | $SED -e 's/^\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*$/\2/'`] if test $java_major -ge 1 && test $java_minor -ge 5; then : # Version is ok. Do nothing. else warn_java="Java version is too old (< 1.5). Octave will not be able to call Java methods." break fi In config.log, do you have "checking for Java version"? An extract of my config.log is shown below. configure:74954: result: /usr/lib/jvm/java-8-openjdk-amd64/bin/jar configure:74969: checking for Java version configure:74972: result: 1.8.0_151 configure:75023: checking for libjvm.so Version is 1.8.X. What does java -version on the command line return? _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?52617> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |