X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=core%2Frun.sh;h=3f480d3260492b5c3c78ed321bf5dd5f31c3f77d;hb=refs%2Fheads%2Fupstream;hp=cdf3472b79a1732091bc13569aeceab49d59cd5d;hpb=b556e8099ffd11d12ceb599a251d7c127bc81dc4;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 "$@"