Java package: Difference between revisions
V3.8 release 2013 while config was deprecated 2016, added handling to future proof check
(Changed from deprecated function octave_config_info to recommended __octave_config_info__) |
(V3.8 release 2013 while config was deprecated 2016, added handling to future proof check) |
||
Line 9: | Line 9: | ||
However, even for these versions, Octave needs to have been built with java support. Check it like so: | However, even for these versions, Octave needs to have been built with java support. Check it like so: | ||
>> __octave_config_info__ ("JAVA") | >> (str2num(strtok(version(), '.')) > 4 && __octave_config_info__("JAVA")) || octave_config_info ("features").JAVA | ||
ans = 1 | ans = 1 | ||