mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
21 lines
479 B
Plaintext
21 lines
479 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
APPDIR="$(dirname -- "${0}")"
|
||
|
|
||
|
# includes java/* in case a Java install is available
|
||
|
for LIB in \
|
||
|
java/lib/rt.jar \
|
||
|
java/lib/tools.jar \
|
||
|
lib/*.jar \
|
||
|
;
|
||
|
do
|
||
|
CLASSPATH="${CLASSPATH}:${APPDIR}/${LIB}"
|
||
|
done
|
||
|
export CLASSPATH
|
||
|
|
||
|
export PATH="${APPDIR}/java/bin:${PATH}"
|
||
|
|
||
|
#java processing.app.Commander $*
|
||
|
# if you know a better way to do this, submit it to dev.processing.org/bugs
|
||
|
java processing.app.Commander "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"
|