GNU/Linux: removing jayatana from JAVA_TOOL_OPTIONS, if present. Fixes #3081

This commit is contained in:
Federico Fissore 2015-05-12 10:48:53 +02:00
parent 154d23ce11
commit 7c5c1741f0
1 changed files with 2 additions and 0 deletions

View File

@ -26,5 +26,7 @@ else
SPLASH="-splash:./lib/splash.png"
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 "$@"