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:
6
build/linux/dist/arduino
vendored
6
build/linux/dist/arduino
vendored
@ -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 "$@"
|
||||
|
Reference in New Issue
Block a user