Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
(kinda) working java wrappers by Malek and me
[simgrid.git] / examples / java / runtest
diff --git a/examples/java/runtest b/examples/java/runtest
new file mode 100755 (executable)
index 0000000..573c5e3
--- /dev/null
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+t=`basename $1 .class`
+
+# uncomment this when JNI becomes mad
+# options="-verbose:jni -Xcheck:jni "
+
+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