标题: export在rc.conf中使用无效 [打印本页] 作者: timego 时间: 2007-01-15 05:35 标题: export在rc.conf中使用无效 为何我在/etc/rc.conf中使用export会无效?
===================================
export JAVA_HOME=/usr/local/diablo-jdk1.5.0
export CATALINA_HOME=/usr/local/tomcat5.5
export CLASSPATH=.JAVA_HOME/jre/lib/rt.jarJAVA_HOME/lib/dt.jarJAVA_HOME/lib/tools.jar
====================================
用了这三句 启动tomcat时还是提示说
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
哪位能详细的告诉偶一下export的语法作者: ground 时间: 2007-01-15 11:02
export 不能加到rc.conf作者: 大大狗 时间: 2007-01-15 14:49
应该放到这个里面吧 /etc/profile作者: timego 时间: 2007-01-15 15:31
3Q