Question
window 下查看java_home ---<wbr><wbr><wbr> echo%java_home %<br></wbr></wbr></wbr>
The CATALINA_HOME environment variable is not defined correctly
CATALINA_HOME=C:\JavaTomca<wbr style="font-size: 13px; font-family: inherit;"></wbr>tServer\to<wbr style="font-size: 13px; font-family: inherit;"></wbr>mcat6014\b<wbr style="font-size: 13px; font-family: inherit;"></wbr>in
CLASSPATH=.;C:\Program Files\Java\jre1.6.0_02\lib<wbr style="font-size: 13px; font-family: inherit;"></wbr>\ext\QTJav<wbr style="font-size: 13px; font-family: inherit;"></wbr>a.zip
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Some User
JAVA_HOME=C:\Program Files\Java\jdk1.5.0_12
Path=C:\WINDOWS\system32;C<wbr style="font-size: 13px; font-family: inherit;"></wbr>:\WINDOWS;<wbr style="font-size: 13px; font-family: inherit;"></wbr>C:\WINDOWS<wbr style="font-size: 13px; font-family: inherit;"></wbr>\System32\<wbr style="font-size: 13px; font-family: inherit;"></wbr>Wbem;C:\Pr<wbr style="font-size: 13px; font-family: inherit;"></wbr>ogram Files\ATI Technologies\ATI Control Panel;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Progra<wbr style="font-size: 13px; font-family: inherit;"></wbr>m Files\QuickTime\QTSystem\;<wbr style="font-size: 13px; font-family: inherit;"></wbr>C:\JavaTom<wbr style="font-size: 13px; font-family: inherit;"></wbr>catServer\<wbr style="font-size: 13px; font-family: inherit;"></wbr>tomcat6014<wbr style="font-size: 13px; font-family: inherit;"></wbr>\bin
PATHEXT=.COM;.EXE;.BAT;.CM<wbr style="font-size: 13px; font-family: inherit;"></wbr>D;.VBS;.VB<wbr style="font-size: 13px; font-family: inherit;"></wbr>E;.JS;.JSE<wbr style="font-size: 13px; font-family: inherit;"></wbr>;.WSF;.WSH<wbr style="font-size: 13px; font-family: inherit;"></wbr>
PROCESSOR_ARCHITECTURE=x86<wbr style="font-size: 13px; font-family: inherit;"></wbr>
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 10, AuthenticAMD
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=040a
ProgramFiles=C:\Program Files
PROMPT=$P$G
QTJAVA=C:\Program Files\Java\jre1.6.0_02\lib<wbr style="font-size: 13px; font-family: inherit;"></wbr>\ext\QTJav<wbr style="font-size: 13px; font-family: inherit;"></wbr>a.zip
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\SOMEUS~1\<wbr style="font-size: 13px; font-family: inherit;"></wbr>LOCALS~1\T<wbr style="font-size: 13px; font-family: inherit;"></wbr>emp
TMP=C:\DOCUME~1\SOMEUS~1\L<wbr style="font-size: 13px; font-family: inherit;"></wbr>OCALS~1\Te<wbr style="font-size: 13px; font-family: inherit;"></wbr>mp
USERDOMAIN=OWNER-DOMAIN
USERNAME=Some User
USERPROFILE=C:\Documents and Settings\Some User
windir=C:\WINDOWS
MY JDK LOCATION IS:
C:\Program Files\Java\jdk1.5.0_12
AND TOMCAT LOCATIO IS:
C:\JavaTomcatServer\tomcat<wbr style="font-size: 13px; font-family: inherit;"></wbr>6014
THE ERROR I GET IS:
C:\JavaTomcatServer\tomcat<wbr style="font-size: 13px; font-family: inherit;"></wbr>6014>start<wbr style="font-size: 13px; font-family: inherit;"></wbr>up.bat
The CATALINA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
When i ECHO �TALINA_HOME% i get C:\JavaTomcatServer\tomcat<wbr style="font-size: 13px; font-family: inherit;"></wbr>6014\bin
WHAT AM I DOING WRONG ...
I MOVED MY TOMCAT TO C:\JavaTomcatServer\tomcat<wbr style="font-size: 13px; font-family: inherit;"></wbr>6014 from the C:\Documents and Settings\Some User\Desktop location this morning and re-set my CATALINA_HOME AND THE PATH varaibles appropriately....