sap JCO3.0安装

There are different distribution packages for various JRE versions and hardware processors available:

  • sapjco3-ntintel-3.0.8.zip for a 32-bit JRE running on a 32- or 64-bit AMD or INTEL x86 or a 64-bit INTEL Itanium processor
  • sapjco3-ntia64-3.0.8.zip for a 64-bit JRE running on a 64-bit INTEL Itanium processor
  • sapjco3-ntamd64-3.0.8.zip for a 64-bit JRE running on a 64-bit AMD or INTEL x86 processor

Note: Before installing JCo, please install the latest Microsoft Visual Studio 2005 C/C++ runtime libraries as described in note 684106.

To install JCo for Windows unzip the appropriate distribution package into an arbitrary directory {sapjco3-install-path}.

Note: Do not copy the sapjco3.dll neither into the {windows-dir}\system32 nor into the {windows-dir}\SysWOW64 directory. This will break the operability of other JCo versions that are already installed on the same system. Furthermore you would risk that the current installation also would not work anymore, if the sapjco3.dll gets replaced in the respective Windows system directory in the future.

Then add {sapjco3-install-path} to the PATH environment variable.
Finally, add {sapjco3-install-path}\sapjco3.jar to your CLASSPATH environment variable.

安装时候请注意以上红色字体部分.

如果发生下面错误可能是没有安装 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

会出现成功提示

 

 

 

 

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值