Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Couldn't initialize dynamic link library sapjcorfc

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 ''

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 java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(


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


export LD_LIBRARY_PATH=$:<JCO installationpath>

still no luck.

Any help is really appreciated.


Former Member
Not what you were looking for? View more on this topic or Ask a question