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

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

[Octave-bug-tracker] [bug #55430] usejava starts the JVM if it hadn't be


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #55430] usejava starts the JVM if it hadn't been initialized yet
Date: Wed, 9 Jan 2019 14:57:46 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #3, bug #55430 (project octave):

Here's me trying to be more clear:

In Matlab, if the JVM is available then the JVM is running. So in Matlab,
there's no difference between the JVM being available or running. This is only
configured with the '-nojvm' flag.

In Octave, initialization of the JVM is delayed until needed. So in Octave,
having the JVM feature available is different from having the JVM running.
This is configured during build.

Matlab documentation for usejava says that it returns whether the JVM is
running. But in Octave, usejava tries to returns whether the JVM is available
which in Octave is a different thing.

In addition, usejava initialises the JVM. If the JVM was not running before,
and one only wants to know whether the JVM was running, they can't. They can't
because usejava will return whether the jvm was running after usejava tries to
initialise and not if it was running before the call to usejava.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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