on 12-07-2006 3:38 AM
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
=]
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.