cancel
Showing results for 
Search instead for 
Did you mean: 

sapjco3 mac libsapjco3.jnilib: mach-o, but wrong architecture

Former Member
0 Kudos

Hi,

I'am new by developing with sap.

I want to connect to SAP with an mac OS X Version 10.5.8, java 1.6 and sapjco3. After running I get the following exception:

java.lang.UnsatisfiedLinkError: /Users/claudia/SAP/sapjco3-darwinintel-3.0.4/libsapjco3.jnilib: no suitable image found. Did find: /Users/claudia/SAP/sapjco3-darwinintel-3.0.4/libsapjco3.jnilib: mach-o, but wrong architecture /Users/claudia/SAP/sapjco3-darwinintel-3.0.4/libsapjco3.jnilib: mach-o, but wrong architecture

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1861)

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1778)

at java.lang.Runtime.loadLibrary0(Runtime.java:823)

at java.lang.System.loadLibrary(System.java:1045)

What' s wrong?

Thanks

Claudia

Accepted Solutions (0)

Answers (2)

Answers (2)

RMW
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Claudia,

on Mac OS X Version 10.5.X, JSE 6 is only available for Intel 64-bit.

From your post, it looks like you have installed JCo for Intel 32-bit.

The 64-bit Java runtime can not load a 32-bit library.

I recomment to install JCo for darwin-intel64 and try again.

Best regards

Rolf-Martin

Former Member
0 Kudos

Although not a developer but maybe this post might help http://forums.macrumors.com/showthread.php?t=879780

Regards,

Marc