[MacPorts] #30866: octave-java not working
MacPorts
noreply at macports.org
Thu Aug 18 12:59:28 PDT 2011
#30866: octave-java not working
--------------------------------+-------------------------------------------
Reporter: JDTilley@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.1
Keywords: lion, java, octave | Port:
--------------------------------+-------------------------------------------
I tried sudo port install octave-java on my OS X 10.7 Lion machine. It
built OK, but the java functions do not appear to be working. For example:
octave:1> pkg list
Package Name | Version | Installation directory
--------------+---------+-----------------------
java *| 1.2.6 | /opt/local/share/octave/packages/java-1.2.6
octave:2> help java_new
error: help: `java_new' not found
octave:2> java_invoke("java.lang.System","currentTimeMillis")
error: `java_invoke' undefined near line 2 column 1
octave:2> exit
I have also tried building java-1.2.8 but get the same problem. I have
sought help on the octave board, and their best guess is that it involves
a problem with the Java directory structure on Lion. Flags such as
JAVA_HOME, JAVA_LIBS, JAVA_INC, etc. might be obsolete. Does anyone have
any ideas?
--
Ticket URL: <https://trac.macports.org/ticket/30866>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list