Quantcast
Channel: SCN : Popular Discussions - Java Development
Viewing all articles
Browse latest Browse all 518

Couldn't initialize dynamic link library sapjcorfc

$
0
0

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


Viewing all articles
Browse latest Browse all 518

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>