Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
convert svn logs into ChangeLog (up to r7858 for now)
[simgrid.git] / examples / java / runtest
index 573c5e3..98d65c0 100755 (executable)
@@ -1,5 +1,9 @@
 #! /bin/sh
 
+if test "x$DO_NOT_HAVE_JAVA" = x1 ; then
+  exit 77
+fi
+
 t=`basename $1 .class`
 
 # uncomment this when JNI becomes mad
@@ -7,5 +11,5 @@ t=`basename $1 .class`
 
 echo "(LD_LIBRARY_PATH=$LD_LIBRARY_PATH)"
 echo "(CLASSPATH=$CLASSPATH)"
-echo java $options $t
-java $options $t *platform.xml *deployment.xml
\ No newline at end of file
+echo java $options $t *platform.xml *deployment.xml
+java $options $t *platform.xml *deployment.xml