[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60058] Feature request: function javaversion(
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #60058] Feature request: function javaversion() |
Date: |
Tue, 16 Feb 2021 04:10:03 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36 Edg/88.0.705.68 |
Follow-up Comment #12, bug #60058 (project octave):
Octave is open source. If you wonder where return values come from, you can
have a look at the code.
See this part of "version.m":
case "-java"
try
jversion = javaMethod ("getProperty", "java.lang.System", ...
"java.runtime.version");
jvendor = javaMethod ("getProperty", "java.lang.System", ...
"java.vendor");
jname = javaMethod ("getProperty", "java.lang.System", ...
"java.vm.name");
jjitmode = javaMethod ("getProperty", "java.lang.System", ...
"java.vm.info");
v = ["Java " jversion " with " jvendor " " jname " " jjitmode];
catch err
v = sprintf ("no usable Java Runtime Environment (%s) found:\n%s",
...
uname ().machine, err.message);
end_try_catch
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60058>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), (continued)
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Philip Nienhuis, 2021/02/15
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Markus Mützel, 2021/02/15
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Ernst Reissner, 2021/02/15
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Markus Mützel, 2021/02/15
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Markus Mützel, 2021/02/15
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Ernst Reissner, 2021/02/15
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Markus Mützel, 2021/02/16
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Ernst Reissner, 2021/02/16
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Markus Mützel, 2021/02/16
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Ernst Reissner, 2021/02/16
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(),
Markus Mützel <=
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Ernst Reissner, 2021/02/16
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Markus Mützel, 2021/02/16
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Ernst Reissner, 2021/02/16
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Markus Mützel, 2021/02/16
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Philip Nienhuis, 2021/02/28
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Ernst Reissner, 2021/02/28