cancel
Showing results for 
Search instead for 
Did you mean: 

SAPJco in HPUX:

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

I also have the same problem. Can you describe how did you solve it step by step?

Former Member
0 Kudos

How can we set 'SHLIB_PATH' environment in native library of JCo????