[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: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #38593] detection of java version fails on NixOS |
Date: |
Tue, 26 Mar 2013 15:54:22 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 |
Follow-up Comment #3, bug #38593 (project octave):
The lack of standardization for a supposedly cross-platform tool is really
tiresome.
So what does the shell command return in its entirety?
sh> java -version
We could possibly change the regular expression to look for just 'version
"XXX.XXX.XXX"' instead. That would only work provided that no other line in
the output would match.
When I run the above I get
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.3) (6b27-1.12.3-0ubuntu1~10.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
So it would at least work for older versions of OpenJDK in an Ubuntu
environment.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38593>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/