Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
first prealpha not working prototype (please public keep away) version of what could...
[simgrid.git] / buildtools / Cmake / test_java.sh
index 7abf189..47002ad 100755 (executable)
@@ -1,8 +1,9 @@
 #! /bin/sh
-echo "\n"
-export CLASSPATH=$3:$3/src/simgrid.jar:$CLASSPATH
+export LD_LIBRARY_PATH=$3/lib:$LD_LIBRARY_PATH
+export JAVA_LIBRARY_PATH=:$3/lib:$JAVA_LIBRARY_PATH
 cd $1
-echo "CLASSPATH = $CLASSPATH"
+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