mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
GNU/Linux: removing jayatana from JAVA_TOOL_OPTIONS, if present. Fixes #3081
This commit is contained in:
2
build/linux/dist/arduino
vendored
2
build/linux/dist/arduino
vendored
@ -26,5 +26,7 @@ else
|
|||||||
SPLASH="-splash:./lib/splash.png"
|
SPLASH="-splash:./lib/splash.png"
|
||||||
fi
|
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 ArduinoIDE --curdir $CURDIR "$@"
|
java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel $SPLASH ArduinoIDE --curdir $CURDIR "$@"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user