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

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

[Octave-bug-tracker] [bug #53305] usejava ("awt") may fail on macOS


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #53305] usejava ("awt") may fail on macOS
Date: Fri, 9 Mar 2018 09:39:16 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #4, bug #53305 (project octave):

I tried the change suggested in comment #3 and I still see


octave:1> methods ("java.awt.Frame");
No Java runtime present, requesting install.
2018-03-09 15:32:01.865 octave-cli[72558:10349204] JLRequestRuntimeInstall:
Error calling: CFMessagePortCreateRemote


even though the JVM is loaded and working:


octave:1> javaMethod ("getProperty", "java.lang.System", "java.version")
ans = 9.0.4


It's only the last test in ov-java.cc that fails when it tries to  execute
usejava ("awt").  So for now, I've pushed this change:

http://hg.savannah.gnu.org/hgweb/octave/rev/1e207bd05b5d

Though this doesn't fix the real problem, it should allow the tests to run.

I hesitate to install a change to usejava.m that would warn about this problem
on OS X systems specifically for AWT since I don't know whether there may be
other parts of the java system that will fail similarly.  It seems best to
find a way to fix the real problem and prevent the JVM from aborting the
program when a component doesn't work.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53305>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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