- 论坛徽章:
- 0
|
我有2台aix5.1的机器,其中一台A机os版本是5100.09上已经装好jdk14_64,另一台B机是5100.07版本的,我把A机的/usr/jdk14_64打包后ftp到B机,在B机上建了/usr/jdk14_64目录解包。JAVA_HOME=/usr/jdk14_64, CLASSPATH=/usr/jdk14_64/lib:/usr/jdk14_64/jre/lib:/usr/jdk14_64/lib/dt.jar:/usr/jdk14_64/lib/tools.jar:/usr/jdk14_64/jre/lib/rt.jar, PATH=.:/usr/jdk14_64/bin:/usr/jdk14_64/jre/bin ATH.\r\n java -version 可以看到是jdk14 64位, tomcat5.028 是tar 开的,但进tomcat的bin下startup。sh 出错:\r\n\r\nThe JAVA_HOME environment variable is not defined correctly\r\nThis environment variable is needed to run this program\r\nNB: JAVA_HOME should point to a JDK not a JRE\r\n\r\nenv |grep JAVA\r\nJAVA_HOME=/usr/jdk14_64\r\nenv|grep PATH\r\nSHLIB_PATH=/oracle/app/oracle/product/9.2.0/lib:\r\nPATH=.:/usr/jdk14_64/bin:/usr/jdk14_64/jre/bin:.:/bill6/aicbs/bin:/opt/freeware/bin:/usr/bin:/etc:/usr/sbin:/usr/bin/X11:/sbin:/oracle/app/oracle/product/9.2.0/bin:/aitools/bin::/usr/vacpp/bin:/usr/lpp/cics/bin/:/usr/altibase_home/bin\r\nCLASSPATH=:/usr/jdk14_64/lib:/usr/jdk14_64/jre/lib:/usr/jdk14_64/lib/dt.jar:/usr/jdk14_64/lib/tools.jar:/usr/jdk14_64/jre/lib/rt.jar:.\r\nLOCPATH=/usr/lib/nls/loc\r\nLD_LIBRARY_PATH=/bill6/aicbs/lib:/oracle/app/oracle/product/9.2.0/lib:/usr/lib\r\nSYS_LOG_PATH=/bill6/aioss/gprs/pre/log\r\nLIBPATH=.:/oracle/app/oracle/product/9.2.0/lib32:/oracle/app/oracle/product/9.2.0/lib:/oracle/app/oracle/product/9.2.0/ctx/lib:/bill6/aicbs/lib:/opt/freeware/lib:/usr/lpp/cics/lib:/usr/local/lib/oratcl4.1:/usr/lpp/ctg/bin:/usr/lib\r\n\r\n请高手指点。 JDK14要重装吗? |
|