Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
deepin 环境变量配置
deepin Talks
3555
views ·
4
replies ·
To
floor
Go
deepin1216181067
deepin
2017-12-15 16:39
Author
在deepin的etc/envirment、.bash_profile、etc/profile下配置了export PATH,都不起作用,直接导致不能开机,请问有人配置成功过环境变量吗?OS:deepin 15.5
Reply
Like 0
Favorite
View the author
All Replies
jhkwei
deepin
2017-12-15 20:58
#1
先试再终端中试 export ,能行之后,再把 同样的 export 加到 /etc/profile 之类的最后,再 source /etc/profile 之类试试
Reply
Like 0
View the author
fuyao
deepin
2017-12-15 21:24
#2
我是把export PATH 这些卸载~/.bashrc里面,然后source ~/.bashrc或者重新打开终端生效。
Reply
Like 0
View the author
shamine
deepin
2017-12-15 21:26
#3
/.bashrc
export JAVA_HOME=/usr/share/jdk1.6.0_14
export PATH=$JAVA_HOME/bin
PATH
export CLASSPATH=.
JAVA_HOME/lib/dt.jar
JAVA_HOME/lib/tools.jar
Reply
Like 0
View the author
186******42
deepin
2017-12-16 23:01
#4
还是写到.profile吧,各bash都能用,用zsh就不读bashrc
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Looking Deepin ci 25.2.0 Developer/Unstable repositories
Popular Events
More