恼人的Picked up _JAVA_OPTIONS,希望下个版本能去掉
Tofloor
poster avatar
风吹过的绿洲
deepin
2019-01-23 06:07
Author


已经按论坛把/etc/profile.d/java-awt-font-gasp.sh和~/.pam_environment 都删掉了,可以eclipse还有PDman还是会报这个问题,本来也没啥影响。
可偏偏影响倒了PDman这个软件,正常可以连接得上的,报Picked up _JAVA_OPTIONS


下图是通过命令直接运行的,没有以上这个问题。






但是真的闹心。。。。。
Reply Favorite View the author
All Replies
avatar
亚历山大一世
deepin
2019-01-23 07:11
#1
可恼也
Reply View the author
avatar
WENWEN
deepin
2019-01-23 16:56
#2
应用层面的  估计官方也不好解决
Reply View the author
avatar
tony_lang2011
deepin
2019-01-23 17:18
#3
去pdman钉钉群问了也没人回答这个问题,感谢楼主提供命令行方法
Reply View the author
avatar
tony_lang2011
deepin
2019-01-23 17:46
#4
我的临时处理办法是,创建一个sh文件,内容为:
unset _JAVA_OPTIONS
/opt/PDMan/pdman
接着打开pdman的desktop文件,Exec改为执行上面的sh文件
就可以正常使用了
Reply View the author
avatar
风吹过的绿洲
deepin
2019-01-24 04:46
#5
https://bbs.deepin.org/post/174139
我的临时处理办法是,创建一个sh文件,内容为:
unset _JAVA_OPTIONS
/opt/PDMan/pdman

这个确实可以,eclipse也可以这么解决。我之前在.desktop文件上加unset没效果
Reply View the author
avatar
electricface
deepin
2019-01-24 15:07
#6
已经去掉了
Reply View the author
avatar
bibichuan
deepin
2019-01-24 16:57
#7
那个什么 _JAVA_OPTIONS:   -Dawt.useSystemAAFontSettings=gasp 这个问题不知道解决没有,虽然不影响使用,但是还是觉得有点闹心。
Reply View the author
avatar
风吹过的绿洲
deepin
2019-01-24 18:34
#8

你怎么去掉的?
Reply View the author
avatar
josonlee
deepin
2019-01-24 18:43
#9
我在java环境变量配置的地方前面加上了unset _JAVA_OPTIONS就去掉了
  1. # sudo vi /etc/profile

  2. ...
  3. unset _JAVA_OPTIONS
  4. # java环境配置
  5. export JAVA_HOME=/opt/jdk1.8.0_191
  6. ...
Copy the Code
Reply View the author
avatar
风吹过的绿洲
deepin
2019-01-24 18:46
#10
https://bbs.deepin.org/post/174139
我在java环境变量配置的地方前面加上了unset _JAVA_OPTIONS就去掉了

这个15.9不管用的。即便vi ~/.bashrc 加unset _JAVA_OPTIONS也只能去掉终端的。IDE打开的时候,还是会有。
Reply View the author
avatar
electricface
deepin
2019-01-25 04:05
#11
PDman 代码写得不好吧,设置了 _JAVA_OPTIONS 环境变量就影响功能了吗?
Reply View the author
avatar
josonlee
deepin
2019-02-01 22:51
#12
https://bbs.deepin.org/post/174139
这个15.9不管用的。即便vi ~/.bashrc 加unset _JAVA_OPTIONS也只能去掉终端的。IDE打开的时候,还是会有 ...

你是对的,我升级后这鬼东西又出来了,去不掉。不知道你现在解决了没有?
Reply View the author
avatar
electricface
deepin
2019-02-01 23:44
#13
把/etc/profile.d/java-awt-font-gasp.sh和~/.pam_environment 都删掉
Reply View the author
Comments
as763190097
2019-02-02 05:47
我已经都删掉了,还是不行的
avatar
jmjoy
deepin
2019-02-02 03:49
#14
呵呵不求甚解
Reply View the author
avatar
electricface
deepin
2019-02-03 21:07
#15
https://bbs.deepin.org/post/174139
把/etc/profile.d/java-awt-font-gasp.sh和~/.pam_environment 都删掉

重启了吗?
Reply View the author
avatar
SiyerBOBO
deepin
2019-02-03 23:12
#16
闹心+1
upset确实可以去掉,但是ecilpse下前边的_JAVA_OPTIONS还是存在,正常其他的Linux发行版都没有...
Reply View the author
avatar
foxbcd
deepin
2019-02-04 00:04
#17
https://bbs.deepin.org/post/174139
闹心+1
upset确实可以去掉,但是ecilpse下前边的_JAVA_OPTIONS还是存在,正常其他的Linux发行版都没有... ...

manjaro-deepin也是有的
Reply View the author
avatar
魔法师
deepin
2019-02-05 05:52
#18
不知这个方法是否可行,针对你这个程序问题,如果测试可行,请回复一下
https://bbs.deepin.org/post/174516
Reply View the author
avatar
tiantan_
deepin
2019-02-15 23:20
#19
感谢您的反馈,PDMan已经针对该系统进行了专门的测试和修复,将会在下个版本中修复,敬请期待!
Reply View the author