Opened 13 years ago
Last modified 11 years ago
#30866 closed defect
octave-java not working — at Initial Version
Reported by: | ForTozs | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.1 |
Keywords: | lion | Cc: | |
Port: | octave-java |
Description
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?