diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-04 16:06:35 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-04 16:06:35 +0200 |
commit | 5ef8d09294179779548a9b022a61175510c86aba (patch) | |
tree | ee578e5106ecacea177f17c1a65ed365b2e2602f /.local/share/bin/java | |
parent | 8a40a00d05ad6278165901c5908758ddabb23247 (diff) |
use java shim instead of _JAVA_OPTIONS
Diffstat (limited to '.local/share/bin/java')
-rwxr-xr-x | .local/share/bin/java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.local/share/bin/java b/.local/share/bin/java new file mode 100755 index 0000000..06fdb61 --- /dev/null +++ b/.local/share/bin/java @@ -0,0 +1,7 @@ +#!/bin/sh +export _JAVA_AWT_WM_NONREPARENTING=1 +exec /usr/bin/java \ + -Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java" \ + -Dawt.useSystemAAFontSettings=on \ + -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel \ + "$@" |