octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #60058] Feature request: function javaversion(


From: Ernst Reissner
Subject: [Octave-bug-tracker] [bug #60058] Feature request: function javaversion()
Date: Tue, 16 Feb 2021 03:32:34 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36

Follow-up Comment #11, bug #60058 (project octave):

I agree as long as they just pass. 
But I wonder whether octave assembles the version string itself. 

look: 
java --version yields 
openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-suse-1.1-x8664)
OpenJDK 64-Bit Server VM (build 11.0.10+9-suse-1.1-x8664, mixed mode)

whereas 
octave:1> version('-java')
ans = Java 11.0.10+9-suse-1.1-x8664 with Oracle Corporation OpenJDK 64-Bit
Server VM mixed mode

So, octave does something. 
Else, maybe: 'version('-java') returns version as returned by... 
I dont know. 
Note that also vendor information is returned. 

Anyway, i removed my own version method, although more precise, 
to use the generic one with the regular expression 
you suggested. 

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60058>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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