kali
物理机
打开idea
/ goland
提示这个
The use of Java options environment variables detected. Such variables override IDE configuration files (*.vmoptions) and may cause performance and stability issues. Please consider deleting these variables: _JAVA_OPTIONS.
但是我看了我的环境变量
包括我的zsh
文件
全程都没有找到_JAVA_OPTIONS
解决办法
/etc/environment.d/95kali-themes.conf
QT_QPA_PLATFORMTHEME=qt5ct
QT_AUTO_SCREEN_SCALE_FACTOR=0
_JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true"
/etc/X11/Xsession.d/90kali-themes
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true"
这两个文件中分别把这两行删掉
这两行是防止java
字体出现渲染错误