2010-01-29 21:53:51 +01:00
|
|
|
#!/bin/sh
|
2009-05-31 17:53:33 +02:00
|
|
|
|
2012-11-03 17:37:50 +01:00
|
|
|
APPDIR="$(dirname -- "$(readlink -f -- "${0}")" )"
|
2010-01-29 21:53:21 +01:00
|
|
|
|
2012-11-03 17:37:50 +01:00
|
|
|
cd "$APPDIR"
|
2009-05-31 17:53:33 +02:00
|
|
|
|
|
|
|
for LIB in \
|
|
|
|
java/lib/rt.jar \
|
|
|
|
java/lib/tools.jar \
|
|
|
|
lib/*.jar \
|
|
|
|
;
|
|
|
|
do
|
2010-11-27 19:50:33 +01:00
|
|
|
CLASSPATH="${CLASSPATH}:${LIB}"
|
2009-05-31 17:53:33 +02:00
|
|
|
done
|
|
|
|
export CLASSPATH
|
|
|
|
|
2010-11-27 23:57:02 +01:00
|
|
|
LD_LIBRARY_PATH=`pwd`/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
2009-08-03 22:57:46 +02:00
|
|
|
export LD_LIBRARY_PATH
|
|
|
|
|
2009-05-31 17:53:33 +02:00
|
|
|
export PATH="${APPDIR}/java/bin:${PATH}"
|
|
|
|
|
2012-11-03 17:25:19 +01:00
|
|
|
java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel processing.app.Base "$@"
|