Opened 13 years ago

Last modified 10 years ago

#30866 closed defect

octave-java not working — at Version 1

Reported by: ForTozs Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: lion Cc:
Port: octave-java

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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?

Change History (1)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: java octave removed
Port: octave-java added

Remember to use WikiFormatting and to preview before submitting, and to fill in the Port field.

Note: See TracTickets for help on using tickets.