rookie5566
deepin
2016-01-18 20:44 Reply Like 0 View the author
https://bbs.deepin.org/post/36282
参考:http://bbs.deepin.org/post/36237#
https://bbs.deepin.org/post/36282
谢谢,还真的是到这里,deepin干嘛要搞点特殊呢?在Ubuntu中在/etc/profile中是有效的。 ...
https://bbs.deepin.org/post/36282
然而这样配置也只是在终端生效, 当桌面双击应用时,同样没有效果。 比如eclipse、idea,在终端启动是正 ...
https://bbs.deepin.org/post/36282
在用户目录~/.bashrc中设置环境变量肯定生效
https://bbs.deepin.org/post/36282
深度应用商店有个openjdk,直接安装就可以用了
Popular Ranking
ChangePopular Events
More
export JAVA_HOME=/usr/share/java/jdk
export PATH=$JAVA_HOME/bin
然后再执行. /etc/profile或者source /etc/profile之后只能在当前终端窗口有效,重启后也不能自动加载。每次都在执行 /etc/profile或者source /etc/profile才行。
请都大神是哪里出了问题,导致在/etc/profile中添加的不能自动加载