sap JCO3.0安装缺少Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package (KB973544)

68 篇文章 14 订阅

在某项目中,JAVA程序通过sap JCO3.0调用SAP RFC,由于缺少Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package (KB973544)而导致程序产生“ava.lang.UnsatisfiedLinkError: D:\tomcat\apache-tomcat-6.0.37-windows-x86_32bit\apache-tomcat-6.0.37\bin\sapjco3.dll: 由于应用程序配置不正确,应用程序未能启动。重新安装应用程序可能会纠正这个问题。”

解决方法:

如果发生下面错误可能是没有安装 latest Microsoft Visual Studio 2005 C/C++ runtime libraries 请下载

java.lang.ExceptionInInitializerError: Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: E:\jco\sapjco3-NTAMD64-3.0.8\sapjco3.dll: 由于应用程序配置不正确,应用程序未能启动。重新安装应用程序可能会纠正这个问题。
 at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>(MiddlewareJavaRfc.java:210)
 at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:75)
 at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:23)
 at com.sap.conn.jco.rt.About.<init>(About.java:42)
 at com.sap.conn.jco.rt.About.main(About.java:81)

解决方法:

UC) (NUC) indicates different starting patch levels for unicode and non unicode kernels.

Solution

1. Go to the following link:
http://www.microsoft.com/technet/security/bulletin/MS09-035.mspx
2. Scroll down the page and go to section "Affected Software".
3. Click on the following link:
Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package (KB973544)
4. Scroll down to section "Files in This Download".
5. Download one of the following platform-specific files:
For an Itanium system, download vcredist_IA64.exe
For a 64-Bit SAP system on Intel 64-Bit, download vcredist_x64.exe
For a 32-Bit SAP system on Intel 64-Bit, download vcredist_x86.exe
For an SAP system on Intel 32-Bit, download vcredist_x86.exe
6. Execute the downloaded binary by double-clicking on it and follow the instructions.

For more information, see the attached document.

 

安装成功运行sapjco3.jar

会出现成功提示


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

ChampaignWolf

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值