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