A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing flag (X86 or AMD) to test windows functions
[simgrid.git]
/
buildtools
/
Cmake
/
test_java.sh
diff --git
a/buildtools/Cmake/test_java.sh
b/buildtools/Cmake/test_java.sh
index
6f0b255
..
47002ad
100755
(executable)
--- a/
buildtools/Cmake/test_java.sh
+++ b/
buildtools/Cmake/test_java.sh
@@
-1,10
+1,9
@@
#! /bin/sh
#! /bin/sh
-echo "\n"
-export CLASSPATH=$3:$3/src/simgrid.jar:$CLASSPATH
-export LD_LIBRARY_PATH=$3/src/.libs:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=$3/lib:$LD_LIBRARY_PATH
+export JAVA_LIBRARY_PATH=:$3/lib:$JAVA_LIBRARY_PATH
cd $1
cd $1
-echo "
CLASSPATH = $CLASS
PATH"
-echo "
LD_LIBRARY_PATH = $LD
_LIBRARY_PATH"
+echo "
LD_LIBRARY_PATH = $LD_LIBRARY_
PATH"
+echo "
JAVA_LIBRARY_PATH = $JAVA
_LIBRARY_PATH"
pwd
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