aboutsummaryrefslogtreecommitdiffstats
path: root/Jake2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Jake2.sh')
-rwxr-xr-xJake2.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/Jake2.sh b/Jake2.sh
index aab71ff..4fa1dcb 100755
--- a/Jake2.sh
+++ b/Jake2.sh
@@ -3,7 +3,11 @@
cd `dirname $0`
# for jogl and joal
-CP=lib/jogamp/gluegen-rt.jar:lib/jogamp/joal.jar:lib/jogamp/jogl-all.jar:dist/lib/jake2.jar
+if [ -f "target/jake2.jar" ] ; then
+ CP=target/jake2.jar
+else
+ CP=lib/jogamp/gluegen-rt.jar:lib/jogamp/joal.jar:lib/jogamp/jogl-all.jar:dist/lib/jake2.jar
+fi
#breaks VM's like avian
X_ARGS="-Xmx100M"