Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
修改etc下的profile配置文件不生效的问题
15 RC专版(归档中)
1729
views ·
1
replies ·
To
floor
Go
coffee_java
deepin
2015-12-29 19:37
Author
配置java环境,修改etc下的profile环境,在末尾添加如下配置
# java config
export JAVA_HOME=/work/jdk1.7.0_79
export PATH=$PATH
JAVA_HOME/bin
export CLASSPATH=.
JAVA_HOME/lib
export JAVA_HOME PATH CLASSPATH
#maven config
export M2_HOME=/work/apache-maven-3.3.9
export PATH=$PATH
M2_HOME/bin
export CLASSPATH=.
M2_HOME/lib
export M2_HOME PATH CLASSPATH
重启后不生效,使用source命令以后在当前的bash里面好用,开启另一个终端窗口则不好用,请问这个是什么原因,之前用过其他的linux都没有遇到过这个问题。
Reply
Like 0
Favorite
View the author
All Replies
ldsink
deepin
2015-12-29 21:17
#1
我问过
https://bbs.deepin.org/post/34402
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[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
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
# java config
export JAVA_HOME=/work/jdk1.7.0_79
export PATH=$PATH
export CLASSPATH=.
export JAVA_HOME PATH CLASSPATH
#maven config
export M2_HOME=/work/apache-maven-3.3.9
export PATH=$PATH
export CLASSPATH=.
export M2_HOME PATH CLASSPATH
重启后不生效,使用source命令以后在当前的bash里面好用,开启另一个终端窗口则不好用,请问这个是什么原因,之前用过其他的linux都没有遇到过这个问题。