Deepin 配置JDK问题: Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSetti...
Tofloor
poster avatar
zeeker
deepin
2015-06-11 06:41
Author
输入java -version。在显示正常版本号前面多了以这样一句话:Picked up _JAVA_OPTIONS:   -Dawt.useSystemAAFontSettings=gasp。是怎么回事,修改很多次配置方案,/etc/profile,/etc/profile.d/xxxx.sh,~/.bashrc,~/.profile等等。怎么都无法去掉这个提示。烦死了!求帮助。
Reply Favorite View the author
All Replies
Feng Yu
deepin
2015-06-11 07:04
#1
https://bbs.deepin.org/post/30734
之前就有过这个问题的贴,结论是不影响使用,但不能去掉

其实能去掉,这个只是某个变量的内容而已,去不掉的是打印变量的操作。只要去掉这个变量即可
Reply View the author
Feng Yu
deepin
2015-06-11 07:14
#2
https://bbs.deepin.org/post/30399

以前老外也在论坛问过同样的问题
Reply View the author
zeeker
deepin
2015-06-11 17:04
#3
https://bbs.deepin.org/post/30734
http://bbs.deepin.org/post/30399

以前老外也在论坛问过同样的问题 ...

谢谢,解决了,我把/etc/profile.d/下面的 java-awt-font-gasp.sh 删掉就没事了。还有一种办法就是/etc/profile中添加 unset _JAVA_OPTIONS 改变环境变量也可以的。
Reply View the author
Feng Yu
deepin
2015-06-11 17:23
#4
https://bbs.deepin.org/post/30734
谢谢,解决了,我把/etc/profile.d/下面的 java-awt-font-gasp.sh 删掉就没事了。还有一种办法就是/etc/p ...

这个变量最好不要去掉,否则java图形界面的字体看不清。这个就是开启java反锯齿的
Reply View the author