This is my memo for quick reference to install SAP Java Connector 3(SAP Jco3) on tomcat in linux system.

I use RHEL5,tomcat6,sapjco3. Here are simple step.

1. Check your java version, SAP Jco3 require JRE 1.5 or 1.6

2. Download latest SAP Java Connector from http://service.sap.com/connectors select package that match your hardware. In my case,package for linux on intel x86 is sapjco3-linuxx86_64-x.x.x.tgz

3. extract file to sapjco-installation-path like /opt/sapjco3

4. add your sapjco-installation-path to environment variable LD_LIBRARY_PATH.

5. add your sapjco-installation-path/sapjco3.jar to environment variable CLASSPATH.

restart tomcat. That's it.

If you migrate from sapjco2 to sapjco3 you have to adapt your code by read this migration guide:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6080c13b-e2d1-2c10-5f88-bd5a9e35d726?QuickLink=index&overridelayout=true

แสดงความคิดเห็น