cancel
Showing results for 
Search instead for 
Did you mean: 

Jco 2.1.7 on Mac OS X

Former Member
0 Kudos

Hi,

Have anybody succeed running JCO 2.1.7 on any Mac OS X version?

1) Running on Mac OS X 10.4.5 on Intel ends up with exception (is it because JCO supports just G4/G5?):

Exception in thread "main" java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'

JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [/Users/mark/sapjco-darwin-2.1.7/libsapjcorfc.jnilib: ]. java.library.path [/Users/mark/sapjco-darwin-2.1.7/:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java]

at com.sap.mw.jco.JCO.<clinit>(JCO.java:776)

at Example1.main(Example1.java:29)

2) Using ALL files from same package sapjco-darwin-2.1.7.tgz on 10.4.7 on G5 also gives up with:

Exception in thread "main" java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'

JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc. Found version "2.1.7 (2006-05-22)" but required version "2.1.7 (2006-06-12)".

at com.sap.mw.jco.JCO.<clinit>(JCO.java:776)

at Example1.main(Example1.java:29)

Maybe someone has faced this before and can comment.

Thank you in advance

Mark

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi guys

Does somebody have had set eclipse on mac for running jco? besides add the sapjco.jar in the library, what else should i do?

thanks

=]

ilja_farber
Employee
Employee
0 Kudos

sapjco-darwin-2.1.7 cannot be used on mac for intel.

Found version "2.1.7 (2006-05-22)" but required version "2.1.7 (2006-06-12)". means you use an older sapjco.jar archive.

Former Member
0 Kudos

Thanks for confimation about Intel.

..but I am very confised about second as I have used ALL files from same package sapjco-darwin-2.1.7 and no other installations were made on this system that could mess versions up. Does it mean that sapjco-darwin-2.1.7 contains incompatible versions packed?

Former Member
0 Kudos

Hi, does anyone have any news about this? I am also eager to use Eclipse for Mac with a native Universal Binary sap-jco. For now this means I will have to use Bootcamp to run the Windows version.