cancel
Showing results for 
Search instead for 
Did you mean: 

Couldn't initialize dynamic link library sapjcorfc

Former Member
0 Kudos

Hi All,

I installed JCO 2.1.8 on HP UX and i am getting error when trying to run the following command

java -jar /home/pmt/JCO/sapjco.jar

Here is the error message

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 [no sapjcorfc in java.library.path]. java.library.path [/opt/java1.5/jre/lib/IA64N:/opt/java1.5/jre/lib/IA64N/server:/opt/java1.5/jre/../lib/IA64N::/home/pmt/JCO:/usr/lib]

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

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:168)

at com.sap.mw.jco.About.<init>(About.java:33)

I even tried to change the java.library.path by doing as below

set LD_LIBRARY_PATH=""

export LD_LIBRARY_PATH=$:<JCO installationpath>

still no luck.

Any help is really appreciated.

Thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks Vladimir. I dont have access to the link yet, once i get access, i will verify the connection again. Most likely they might also advise to keep the .so file in the path, which i have already done.

Please let me know if you have any other debug points to check.

Thanks agian.

Vlado
Advisor
Advisor
0 Kudos

Check this [thread|;, in particular Rudolph Emange's post from Mar 2, 2005.

It's about Windows but hopefully you can adjust it to HP-UX as well.

HTH!

-- Vladimir

Vlado
Advisor
Advisor
0 Kudos

Hi Visala,

Have you checked the documentation available at https://service.sap.com/~sapidb/011000358700007415502002E#4 ?

Regards,

Vladimir

Former Member
0 Kudos

Can any one please help!!! I put the .so files in the native folder at java.library.path. Doesn't help.

Really appreicate if anyone can throw some light on this issue.

Thanks