2010-01-29 21:53:51 +01:00
|
|
|
#!/bin/sh
|
2009-05-31 17:53:33 +02:00
|
|
|
|
|
|
|
APPDIR="$(dirname -- "${0}")"
|
2010-01-29 21:53:21 +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}"
|
|
|
|
|
2009-08-12 01:05:18 +02:00
|
|
|
java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel processing.app.Base
|