X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=core%2Frun.sh;h=3f480d3260492b5c3c78ed321bf5dd5f31c3f77d;hb=0be17fea9df8667c018922d9eca1166254dce470;hp=1ec8ea6f5967f5b83056a30be8a37b0304df0136;hpb=e6f50945950584175a65f7ef5dfdff1c7ed24bc7;p=debian%2Fopenrocket diff --git a/core/run.sh b/core/run.sh index 1ec8ea6f..3f480d32 100755 --- a/core/run.sh +++ b/core/run.sh @@ -13,6 +13,13 @@ while echo "$1" | grep -q "^-" ; do shift done +LIBS="bin/" +LIBS="$LIBS:resources/" +for i in lib/*.jar ; do + LIBS="$LIBS:$i" +done +LIBS="$LIBS:lib/jogl/gluegen-rt.jar" +LIBS="$LIBS:lib/jogl/jogl.all.jar" -java -cp bin/:resources/:lib/miglayout15-swing.jar:lib/jcommon-1.0.16.jar:lib/jfreechart-1.0.13.jar:lib/iText-5.0.2.jar $JAVAOPTS net.sf.openrocket.startup.Startup "$@" +java -cp $LIBS $JAVAOPTS net.sf.openrocket.startup.Startup "$@"