From: navarrop Date: Tue, 2 Nov 2010 15:38:12 +0000 (+0000) Subject: Export JAVA_LIBRARY_PATH for testing. X-Git-Tag: v3_5~329 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/30576d0e7c7f461775114adf995b63d9f4725f28 Export JAVA_LIBRARY_PATH for testing. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8496 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/buildtools/Cmake/test_java.sh b/buildtools/Cmake/test_java.sh index 2f4c858216..e0a740f21f 100755 --- a/buildtools/Cmake/test_java.sh +++ b/buildtools/Cmake/test_java.sh @@ -1,10 +1,9 @@ #! /bin/sh -echo "\n" -export CLASSPATH=$3:$3/simgrid.jar:$CLASSPATH -export LD_LIBRARY_PATH=$3/lib:$LD_LIBRARY_PATH +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$3/lib +export JAVA_LIBRARY_PATH=$JAVA_LIBRARY_PATH:$3/lib cd $1 -echo "CLASSPATH = $CLASSPATH" -echo "LD_LIBRARY_PATH = $LD_LIBRARY_PATH" +echo "LD_LIBRARY_PATH = $LD_LIBRARY_PATH" +echo "JAVA_LIBRARY_PATH = $JAVA_LIBRARY_PATH" pwd -echo "java $2 *platform.xml *deployment.xml" -java $2 *platform.xml *deployment.xml +echo "java -cp .:$3/simgrid.jar $2 *platform.xml *deployment.xml" +java -cp .:$3/simgrid.jar $2 *platform.xml *deployment.xml