[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38593] detection of java version fails on Nix
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #38593] detection of java version fails on NixOS |
Date: |
Tue, 26 Mar 2013 04:21:00 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22 |
URL:
<http://savannah.gnu.org/bugs/?38593>
Summary: detection of java version fails on NixOS
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Tue 26 Mar 2013 12:20:58 AM EDT
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
Detection of Java on NixOS fails with the following configure output
(excerpted from http://hydra.nixos.org/build/4480504/log/raw):
configure: WARNING: JAVA_HOME environment variable not initialized.
configure: WARNING: Auto-detection will proceed but is unreliable.
checking for java...
/nix/store/77r1dm0hp6yvdfnf7yksyl5wvziz38ba-openjdk-7u6b24/bin/java
checking for javac...
/nix/store/77r1dm0hp6yvdfnf7yksyl5wvziz38ba-openjdk-7u6b24/bin/javac
checking for jar...
/nix/store/77r1dm0hp6yvdfnf7yksyl5wvziz38ba-openjdk-7u6b24/bin/jar
checking for Java version...
./configure: line 66440: test: -ge: unary operator expected
configure: WARNING: Java version is too old (< 1.5). Octave will not be able
to call Java methods.
Here is the output of "java -version" on Debian GNU/Linux:
$ java -version
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.4) (6b27-1.12.4-1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
And here is "java -version" on NixOS:
$ java -version
openjdk version "1.7.0-release"
OpenJDK Runtime Environment (build 1.7.0-release-b24)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38593>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #38593] detection of java version fails on NixOS,
Mike Miller <=