Skip to content

Commit 7c5c174

Browse files
author
Federico Fissore
committed
GNU/Linux: removing jayatana from JAVA_TOOL_OPTIONS, if present. Fixes #3081
1 parent 154d23c commit 7c5c174

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/linux/dist/arduino

+2
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,7 @@ else
2626
SPLASH="-splash:./lib/splash.png"
2727
fi
2828

29+
export JAVA_TOOL_OPTIONS=`echo $JAVA_TOOL_OPTIONS | sed 's|-javaagent:/usr/share/java/jayatanaag.jar||g'`
30+
2931
java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel $SPLASH ArduinoIDE --curdir $CURDIR "$@"
3032

0 commit comments

Comments
 (0)