no sapjcorfc in java.library.path_sapjco3.dll: Can't find dependent libraries

Hello

We have been using JCo2 for quite some time. Now we are going to use JCo3. I wrote a small Java application to run one RFC via JCo3. My application runs on Windows 7.

Error message:

Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\JCo3\sapjco3.dll: Can't find dependent libraries

I can provide the complete stack trace if you want.

Does anybody know what are those dependent libraries?

Here is what I have done so far:

1) The installation.html included in the JCo3 download states 'Do not copy the sapjco3.dll...into...SysWOW64...'. So I created my own folder C:\Program Files (x86)\JCo3. (I have tried SysWOW as well. It makes no difference.) In my own folder I placed the sapjco3.jar and sapjco3.dll.

2) In Eclipse I added sapjco3.jar to the Java Build Path.

3) I installed the Microsoft Visual Studio 2005 C/C++ runtime libraries as described in note 684106 as per the instructions of the installation.html. I wish this would have added those dependent libraries.

4) At this point if I run my application I get a slightly different version of the error:

Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path

I resolved this problem by editing the 'Native library location' of the sapjco3.jar in Eclipse. After that I am stuck with the error stated above.

Thanks for any help...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值