summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Niels Ole Salscheider <olesalscheider@exherbo.org> 2016-07-23 13:59:40 +0200
committerAvatar Wulf C. Krueger <philantrop@exherbo.org> 2016-07-23 17:25:55 +0200
commitb696ece8a2fa924e4bdddeca4aa750926c5548a7 (patch)
tree68222d78ee7f3b224f03e5543222f4982bfa18d2
parent92aea59a40202dade90a192d5341459f0bfec3b8 (diff)
downloadjava-b696ece8a2fa924e4bdddeca4aa750926c5548a7.tar.gz
java-b696ece8a2fa924e4bdddeca4aa750926c5548a7.tar.xz
java-env: Add _JAVA_OPTIONS
This enables anti-aliasing and selects the GTK theme (instead of the motif theme) as default so that Java applications look nicer. Change-Id: Ibeb899f41bb7c8098a8e604aca4a9d853a3364e4 Reviewed-on: https://galileo.mailstation.de/gerrit/6751 Reviewed-by: Jenkins <wk@mailstation.de> Reviewed-by: Wulf C. Krueger <philantrop@exherbo.org>
-rw-r--r--packages/dev-java/java-env/java-env-1-r3.exheres-0 (renamed from packages/dev-java/java-env/java-env-1-r2.exheres-0)1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/dev-java/java-env/java-env-1-r2.exheres-0 b/packages/dev-java/java-env/java-env-1-r3.exheres-0
index 925ee6a..172196c 100644
--- a/packages/dev-java/java-env/java-env-1-r2.exheres-0
+++ b/packages/dev-java/java-env/java-env-1-r3.exheres-0
@@ -18,6 +18,7 @@ JAVACMD="/usr/$(exhost --target)/bin/java"
JAVA_HOME="/usr/$(exhost --target)/lib/jdk"
MOZ_PLUGIN_PATH="/usr/$(exhost --target)/lib/mozilla/plugins"
PATH="/usr/$(exhost --target)/lib/jdk/bin:/usr/$(exhost --target)/lib/jre/bin"
+_JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
COLON_SEPARATED="MOZ_PLUGIN_PATH"
EOF
}