X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=core%2Frun.sh;h=3f480d3260492b5c3c78ed321bf5dd5f31c3f77d;hb=refs%2Fheads%2Fupstream;hp=54ceeed1316a4f251ec794a642b8484e189ab9db;hpb=b34816a005e47ead29ee43a74ebc15ecc0a41141;p=debian%2Fopenrocket diff --git a/core/run.sh b/core/run.sh index 54ceeed1..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/: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 "$@"