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

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

[Octave-bug-tracker] [bug #64735] `pkg load io` crashes Octave GUI with


From: Arun Giridhar
Subject: [Octave-bug-tracker] [bug #64735] `pkg load io` crashes Octave GUI with no error
Date: Tue, 3 Oct 2023 17:54:48 -0400 (EDT)

Update of bug #64735 (project octave):

                  Status:               Need Info => Confirmed              

    _______________________________________________________

Follow-up Comment #10:

@Harvey, go to the io package location, and edit the file

__init_io__.m

to change the line

  HAVE_JAVA = isempty (javachk ("jvm"));

to

  HAVE_JAVA = false;


If it works for you after that, and if it doesn't lose any functionality you
were using, that's a workaround for you for now.

If you need Java, there are some workarounds listed in bug #60620, but they
will require some digging. That bug is a long-standing and deep one.

@Philip: Sorry, I had been thinking that the call javachk ("jvm") was a
separate process like a system() call, but I find that if Octave was built
with Java support then it's a different executable, so try-catch won't catch a
full crash like this. I build with `--disable-java` except in rare cases for
debugging.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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