[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #52617] configure finds java-9 too old

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/^[^ ]*
  java_major=[`echo $java_version | $SED -e
  java_minor=[`echo $java_version | $SED -e
  if test $java_major -ge 1 && test $java_minor -ge 5; then
    :  # Version is ok.  Do nothing.
    warn_java="Java version is too old (< 1.5).  Octave will not be able to
call Java methods."

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:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]