cancel
Showing results for 
Search instead for 
Did you mean: 

step by step Install jco linux

Former Member
0 Kudos

Hi guys

The company i work with is developing an ivr system wich need to be

connected to a SAP system, i read the manual and test my application

code in windows and it work fine, but we need the program run in

linux, so i followed the installation manual but it doesn't work.

i'm sure is a enviroment problem, but we need to set this as soon as

possible, so can somebody help me with this?

info

-


java version "1.5.0_08"

echo $CLASSPATH

/usr/programas/acualinea:/usr/programas/saptest:/usr/sap/sapjco.jar:/

usr/java/jdk1.5.0_08/jre/lib/rt.jar:.

echo $LD_LIBRARY_PATH

/usr/sap

ps i run the program usin a file with this

-


#!/bin/bash

AGI_DIR=/usr/programas/saptest

JAVA_SCRIPTS=$AGI_DIR/sapjco.jar

echo $JAVA_SCRIPTS

$JAVA_HOME/bin/java -cp $AGI_DIR:$JAVA_SCRIPTS SapConnectionTest

-


where should i put the "so"

files that comes with the jar?

sholud i install any aditional java component?

Thanks for your time

Expecting your answer as soon as you can

=]

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Ah, Unix newbie

If you have put the *.so files in some folder, say "/usr/sap",

then you point to it using LD_LIBRARY_PATH.

Add the following line before java.

...

export LD_LIBRARY_PATH=/usr/sap

$JAVA_HOME/bin/java -cp $AGI_DIR:$JAVA_SCRIPTS SapConnectionTest