linux配置jco3

安装步骤:
1、  将libsapjco3.so复制到JDK目录安装目录路径:/usr/local/tools/jco3;(目录可自由指定)
2、  复制sapjco3.jar到/usr/java/jdk1.6.0_45/lib/sapjco3.jar;
3、  把目录/usr/local/tools/jco3添加到LD_LIBRARY_PATH环境变量;
vim /etc/profile
添加
export LD_LIBRARY_PATH=/usr/local/tools/jco3
. /etc/profile
 
测试是否安装成功:
执行命令:java -jar /usr/java/jdk1.6.0_45/lib/sapjco3.jar
或者
java -classpath /usr/java/jdk1.5.0_22/lib/sapjco3.jar com.sap.conn.jco.rt.About



--------------------------------------------------------------------------------------
|                                 SAP Java Connector                                 |
|                Copyright (c) 2000-2013 SAP AG. All rights reserved.                |
|                                Version Information                                 |
--------------------------------------------------------------------------------------
Java Runtime:
 Operating System:       Linux 2.6.32-431.el6.x86_64 for amd64
 Java VM:                1.6.0_45 Sun Microsystems Inc.
 Default charset:        UTF-8
Versions:
 JCo API:                3.0.10 (2013-08-08)
 JCo middleware:         JavaRfc 2.2.10
 JCo library:            720.440
Library Paths:
 Path to JCo archive:    /usr/java/jdk1.6.0_45/lib/sapjco3.jar
 Path to JCo library:    /usr/local/tools/jco3/libsapjco3.so
--------------------------------------------------------------------------------------
|                                      Manifest                                      |
--------------------------------------------------------------------------------------
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.4
Created-By: 5.1.028 (SAP AG)
Specification-Title: SAP Java Connector v3
Specification-Version: 3.0.10
Specification-Vendor: SAP AG, Walldorf
Implementation-Title: com.sap.conn.jco
Implementation-Version: 20130808 1959 [3.0.10 (2013-08-08)]
Implementation-Vendor-Id: com.sap
Implementation-Vendor: SAP AG, Walldorf
Main-Class: com.sap.conn.jco.rt.About
--------------------------------------------------------------------------------------
阅读更多
上一篇ORACLE 多表关联 UPDATE 语句
下一篇如何将excel单元格的默认格式设置为常规格式
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭