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: Rik
Subject: [Octave-bug-tracker] [bug #53305] usejava ("awt") may fail on macOS
Date: Thu, 8 Mar 2018 11:29:06 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

The actual code that Octave executes is in usejava.m


    case "awt"
      try
        dum = methods ("java.awt.Frame");
        retval = ! javaMethod ("isHeadless", "java.awt.GraphicsEnvironment");
      end_try_catch


@Sebastian: Just to help narrow it down, can you log in to the macOS buildbot,
start octave interactively, and then try each command individually to see
which one is causing the dialog box?

The next question to google or search on StackOverflow for is how to correctly
detect the features of a JVM.  If this isn't the right way, fine, we can
change it.  But I don't know why it appears to work on other platforms, except
possibly that they never have Apple's version of Java and always have a true
version from Sun/Oracle.


    _______________________________________________________

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]