oracle的JAVA运行环境错误?请指教!!!
为什么在光盘的根目录下的runInstall不能安装,非要到install/linux/下运行runInstall
但是运行时出现这样的错误什么?
[oracle@qra-wls5 install]$ cd linux/
[oracle@qra-wls5 linux]$ ls
runInstaller
[oracle@qra-wls5 linux]$ ./runInstaller
The Java RunTime Environment was not found at ?bin/jre. Hence, the Oracle Universal Installer cannot be run.
Please visit http://www.javasoft.com and install JRE version 1.1.8 or higher and try again.
: No such file or directory
[oracle@qra-wls5 linux]$ pwd
/mnt/cdrom/install/linux
=======================================
下面是我的classpath在profile中的设置。
JAVA_HOME=/web/jsdk141
export JAVA_HOME
CLASSPATH=$JAVA_HOME/lib/dt.jar
JAVA_HOME/lib/tools.jar
JAVA_HOME/lib/htmlconverter.jar
export CLASSPATH
CLASSPATH=$CLASSPATH
JAVA_HOME/jre/lib/rt.jar
JAVA_HOME/jre/lib/sunrsasign.jar
export CLASSPATH
CLASSPATH=$CLASSPATH:$JAVA_HOME/jre/lib/jce.jar:$JAVA_HOME/jre/lib/jsse.jar:$JAVA_HOME/jre/lib/javaplugin.jar
export CLASSPATH
#weblogic7.0 JAR file
CLASSPATH=$CLASSPATH:/web/wls70/utils/utils.jar
export CLASSPATH
CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre:$JAVA_HOME/jre/lib
export CLASSPATH
PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre:$JAVA_HOME/jre/bin:/sbin
export PATH