[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53531] configure automatic detection of Java
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #53531] configure automatic detection of Java version fails with OpenJDK 10 and 11 |
Date: |
Sat, 31 Mar 2018 04:00:29 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 |
URL:
<http://savannah.gnu.org/bugs/?53531>
Summary: configure automatic detection of Java version fails
with OpenJDK 10 and 11
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Sat 31 Mar 2018 01:00:28 AM PDT
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
When configure tries to check the version of Java found to see if it is new
enough, the string parsing fails on OpenJDK 10 and 11 on Debian unstable:
$ /usr/lib/jvm/java-9-openjdk-amd64/bin/java -version
openjdk version "9.0.4"
OpenJDK Runtime Environment (build 9.0.4+12-Debian-2)
OpenJDK 64-Bit Server VM (build 9.0.4+12-Debian-2, mixed mode)
$ /usr/lib/jvm/java-10-openjdk-amd64/bin/java -version
openjdk version "10" 2018-03-20
OpenJDK Runtime Environment (build 10+46-Debian-2)
OpenJDK 64-Bit Server VM (build 10+46-Debian-2, mixed mode)
$ /usr/lib/jvm/java-11-openjdk-amd64/bin/java -version
openjdk version "11" 2018-09-18
OpenJDK Runtime Environment (build 11+5-Debian-1)
OpenJDK 64-Bit Server VM (build 11+5-Debian-1, mixed mode)
Two differences from what configure expects
* There is only a single number, not major.minor
* There is additional text after the closing quote that the sed command
doesn't delete
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53531>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #53531] configure automatic detection of Java version fails with OpenJDK 10 and 11,
Mike Miller <=