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 | |
parent | 8a40a00d05ad6278165901c5908758ddabb23247 (diff) |
use java shim instead of _JAVA_OPTIONS
-rwxr-xr-x | .local/share/bin/java | 7 | ||||
-rw-r--r-- | .profile | 4 |
2 files changed, 7 insertions, 4 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 \ + "$@" @@ -89,10 +89,6 @@ export WGETRC="$XDG_CONFIG_HOME/wgetrc" # disable dotnet telemetry export DOTNET_CLI_TELEMETRY_OPTOUT=1 -# java -export _JAVA_OPTIONS="-Djava.util.prefs.userRoot=$XDG_CONFIG_HOME/java -Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" -export _JAVA_AWT_WM_NONREPARENTING=1 - # GPG key IDs export GPG_ID_DEFAULT="1081FFE2B963ADB5BDCF4DA6D0E3BC76E355B6CC" export GPG_ID_GIT="$GPG_ID_DEFAULT" |