#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 | Port: octave-java ------------------------------+--------------------------------------------- Comment(by mark@…): I'd like to add that I have the same issue with Snow Leopard and octave- java 1.2.8. The same JDK and JAR work fine from MATLAB 2012a. {{{ $ export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home" $ java -version java version "1.6.0_31" Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-10M3646) Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode) $ javac Test.java $ java Test Hello, world! $ octave Octave was configured for "x86_64-apple-darwin10.7.3". octave-3.4.0:1> javaaddpath('/Users/oceanoptics/OmniDriver/OOI_HOME/OmniDriver.jar'); error: `java_invoke' undefined near line 41 column 15 error: called from: error: /Users/oceanoptics/octave/java-1.2.8/javaaddpath.m at line 41, column 13 octave-3.4.0:1> pkg list Package Name | Version | Installation directory --------------+---------+----------------------- java *| 1.2.8 | /Users/oceanoptics/octave/java-1.2.8 octave-3.4.0:2> pkg install java-1.2.8.tar.gz ./configure: line 3257: test: too many arguments configure: WARNING: this package requires at least Java-1.5 octave-3.4.0:3> quit error: feval: function `java_exit' not found }}} -- Ticket URL: <https://trac.macports.org/ticket/30866#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS