1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03:00

Linux: bundling the JVM, making sure no graphical glitches are caused by older JVMs

This commit is contained in:
Federico Fissore
2015-06-09 17:38:09 +02:00
parent fec9fb4d0e
commit 3826a0abb4
2 changed files with 43 additions and 1 deletions

View File

@ -28,5 +28,9 @@ fi
export JAVA_TOOL_OPTIONS=`echo $JAVA_TOOL_OPTIONS | sed 's|-javaagent:/usr/share/java/jayatanaag.jar||g'`
java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel $SPLASH processing.app.Base --curdir $CURDIR "$@"
JAVA=java
if [ -x ./java/bin/java ]; then
JAVA=./java/bin/java
fi
$JAVA -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel $SPLASH processing.app.Base --curdir $CURDIR "$@"