32 bit java libs within 64 bit Matlab (maci64)
2 views (last 30 days)
Show older comments
Hello everybody.
I'd like to instantiate a java class out of MATLAB. I have Matlab 2011a on a Mac (64bit) and the java class i want to use is just available in 32 bit. Unfortunately when I try to do
retObj=javaObject('MyClass');
I get a bunch of errors back, amongst others:
/System/Library/Java/Extensions/libQTJNative.jnilib: no suitable image found. Did find: /System/Library/Java/Extensions/libQTJNative.jnilib: no matching architecture in universal wrapper
I can use the library from the console, when I use
java -d32 MyClass
Does anybody know how to force Matlab using java 32bit within Matlab? Thanks, Stephan
0 Comments
Answers (0)
See Also
Categories
Find more on Call Java from MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!