j2sdk 配置为何无效?
l# .bash_profile# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
BASH_ENV=$HOME/.bashrc
USERNAME="root"
export USERNAME BASH_ENV PATH
JAVA_HOME=/usr/java/jre1.5.0_06/lib //这系统多加了一个/lib,我去掉也没用
PATH=$JAVA_HOME:$JAVA_HOME/bin:$PATH
CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar
export PATH JAVA_HOME CLASSPATH
我在 /etc/profile里看了一下,系统没自动加,我依上面写法加上也不起作用我机器也重起试过了
安装Lumaqq 提示
# ./lumaqq
which: no java in (/usr/java/jre1.5.0_06/lib:/usr/java/jre1.5.0_06/lib/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)
No JRE can be found, please set JAVA_HOME environment
#
还有的救吗,灰心哦 各位大哥,还有什么相关设置吗
页:
[1]