cannot set up the java environ ...
after i install my j2sdk 1.41. i try to edit .bash_profile , so i can run the java commands like javac anywhere....but it didn't work...please help me out
here's my .bash_profile
------------------------------------------------------
.....
JAVA_HOME=/usr/java/java/
PATH=$PATH:$HOME/BIN:$JAVA_HOME/BIN
BASH_ENV=$HOME/.BASHRC
USERNAME="root"
CLASSPATH=/usr/java/java/lib/tool.java:.
export JAVA_HOME
export CLASSPATH
export USERNAME BASH_ENV PATH 只在PATH里加上/usr/java/j2re1.4.0_02这个路径就可以了,javahome,class的路径不用
页:
[1]