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: Mike Miller
Subject: [Octave-bug-tracker] [bug #53305] usejava ("awt") may fail on macOS
Date: Thu, 8 Mar 2018 18:44:08 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

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

One more thing to test on macOS might be to change scripts/java/module.mk


diff --git a/scripts/java/module.mk b/scripts/java/module.mk
--- a/scripts/java/module.mk
+++ b/scripts/java/module.mk
@@ -37,7 +37,7 @@ JAVA_CLASSES = $(JAVA_SRC:.java=.class)
 $(%canon_reldir%_JAVA_CLASSES) : %.class : %.java |
%reldir%/$(octave_dirstamp)
        $(AM_V_GEN)$(MKDIR_P) %reldir%/$(org_octave_dir) && \
        ( cd $(srcdir)/scripts/java; \
-         "$(JAVAC)" -source 1.6 -target 1.6 -Xlint:-options \
+         "$(JAVAC)" -source 9 -target 9 -Xlint:-options \
                     -d $(abs_top_builddir)/scripts/java \
                     $(org_octave_dir)/$(<F) )
 


or just drop the -source and -target options entirely, to see if the bytecode
compilation version has anything to do with this bug. Is it because the
bytecode is compiled for Java 6 that the system is specifically trying to have
Apple Java 6 installed?

    _______________________________________________________

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]