on 09-02-2004 4:10 PM
Hello,
My OS is 64 bit HPUX. When I installed jco library "sapjco-hp_64-2.1.3.tgz", I got these exceptions
java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load mid
dleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [/opt/webs
at/sapjco/libsapjcorfc.sl: specified file is not a shared library, or a format e
rror was detected.]. java.library.path [/opt/websat/sapjco]
But when I installed jco library "sapjco-hp_32-2.1.3.tgz", I got it working. So I am confused here. If anyone could explain the reason for this behaviour I will appreciate it.
Thanks,
Ranjith Pillai.
Hi Ranjith,
Listen, I had the same exception error with the sapjco-hp_64-2.1.3.tgz so I took your advice and downloaded the 32 bit but now I have a version exception error. How did you get it to work when you have a 64 bit HPUX and you used the 32?
Thanks,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ranjith,
I think you need to set 'SHLIB_PATH' environment in native library of JCo ,for example 'libsapjcorfc.sl'.
If your 'librfccm.sl' library is older than one in JCo including or you haven't set before, you also need to set 'SHLIB_PATH' environment for 'librfccm.sl'.
Best regards
Y.Nagaya
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.