octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need test of patch for OS X


From: John W. Eaton
Subject: Re: Need test of patch for OS X
Date: Mon, 9 May 2016 22:38:20 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0

On 05/09/2016 10:27 PM, Ben Abbott wrote:

test ov-java.cc
***** testif HAVE_JAVA
  assert (javaObject ("java.lang.Short", 40000).doubleValue < 0);
!!!!! test failed
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries/libjvm.dylib:
 failed to load: 
dlopen(/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries/libjvm.dylib,
 10): no suitable image found.  Did find:
        
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries/libjvm.dylib:
 mach-o, but wrong architecture

Hmm. Well, there was a comment in the code that using the octave_shlib method of loading the jvm had problems, but I'm suspicious about that. Surely there is a way to dynamically load the jvm into Octave. We do it with .oct files, so why not the jvm?

Since the message is about it being the wrong architecture, maybe that isn't the correct file? Are there other libjvm libraries on your system?

jwe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]