X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=core%2Frun.sh;h=3f480d3260492b5c3c78ed321bf5dd5f31c3f77d;hb=0be17fea9df8667c018922d9eca1166254dce470;hp=cdf3472b79a1732091bc13569aeceab49d59cd5d;hpb=b84013fc07d691a6a4479a789b8edbad8b5493b9;p=debian%2Fopenrocket diff --git a/core/run.sh b/core/run.sh index cdf3472b..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:lib/opencsv-2.3.jar $JAVAOPTS net.sf.openrocket.startup.Startup "$@" +java -cp $LIBS $JAVAOPTS net.sf.openrocket.startup.Startup "$@"