xsession: remove use of _JAVA_OPTIONS

There is no way to suppress those annoying warnings. See:
 https://bugs.openjdk.java.net/browse/JDK-8039152

Let's just use wrapper when we need it.
This commit is contained in:
Vincent Bernat 2014-07-03 23:24:48 +02:00
parent fa1e03624c
commit 2dbfdde5a8

View file

@ -10,8 +10,7 @@ export LC_MESSAGES=en_US.utf8
# Ensure we use the appropriate gtkrc-2.0 file # Ensure we use the appropriate gtkrc-2.0 file
export GTK2_RC_FILES=$HOME/.gtkrc-2.0 export GTK2_RC_FILES=$HOME/.gtkrc-2.0
# Java fonts are ugly by default # Java incompatibility with awesome
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd'
export _JAVA_AWT_WM_NONREPARENTING=1 export _JAVA_AWT_WM_NONREPARENTING=1
# We do not want to rely on crappy mailcap # We do not want to rely on crappy mailcap