c******e 发帖数: 139 | 1 I download a apache-tomcat-5.5.23, i want to start it up, so i run it by
C:\apache-tomcat-5.5.23\bin>startup
it gave me
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
what does this mean?
thanks |
h**d 发帖数: 474 | 2 You have to define JAVA_HOME system enviroment variable.
Assume you are using Windows:
http://support.microsoft.com/kb/310519
【在 c******e 的大作中提到】 : I download a apache-tomcat-5.5.23, i want to start it up, so i run it by : C:\apache-tomcat-5.5.23\bin>startup : it gave me : 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 : what does this mean? : thanks
|
c******e 发帖数: 139 | 3 What should be in JAVA_HOME ? I defined it as C:\jdk1.5.0_09\bin, it gave me
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
what does this mean?
thanks
【在 h**d 的大作中提到】 : You have to define JAVA_HOME system enviroment variable. : Assume you are using Windows: : http://support.microsoft.com/kb/310519
|
h**d 发帖数: 474 | 4 your java installation base directory which should be c:\jdk1.5.0_09
me
【在 c******e 的大作中提到】 : What should be in JAVA_HOME ? I defined it as C:\jdk1.5.0_09\bin, it gave me : The JAVA_HOME environment variable is not defined correctly : This environment variable is needed to run this program : NB: JAVA_HOME should point to a JDK not a JRE : what does this mean? : thanks
|
c******e 发帖数: 139 | 5 Thank you! it works.
【在 h**d 的大作中提到】 : your java installation base directory which should be c:\jdk1.5.0_09 : : me
|