1-1-3-3-17 Linux下Path和ClassPath是怎么设的?
发信人: wy (阿环), 信区: Java标题: Re: Linux下Path和ClassPath是怎么设的?
发信站: BBS 水木清华站 (Mon Aug 19 13:21:50 2002)
修改文件 /etc/profile
CLASSPATH = pathA: pathB: pathC
export CLASSPATH
JAVA_HOME类似
【 在 freemanhu (Thinking In Java And Linux Programming) 的大作中提到: 】
: 是啊!
: 写什么进去啊
: 我记得Path好像这样写的
: if [ -f ~/.bashrc ]; then
: . ~/.bashrc
: fi
: # User specific environment and startup programs
: PATH=$PATH:$HOME/bin
: export PATH
: unset USERNAME
页:
[1]