在/etc/profile配置jdk路径,执行source /etc/profile时候报如下错误:
bash: STSIZEpathmunge: command not found
export JAVA_HOME=/usr/java/jdk1.6.0_45
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar
你是不是在cmd中没有进入pathmunge这个路径下
STSIZEpathmunge是什么?打开/etc/profile,把相应的行注释或者删除掉。