This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Startup problem - Tomcat 4.0.4 and Windows ME

 
C Wong
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was not able to startup tomcat and I could not locate a similar problem from the forum. Please help!
Error message:
"The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
Label not found"
My configurations: Windows ME and Tomcat4.0.4
The memory setting of both tomcat startup.bat and shutdown.bat files had been changed to 4096.
In my autoexec.bat file:
SET CLASSPATH=.;d:\jars\junit.jar;d:\jars\dom2.jar;d:\jars\xbeans.jar;d:\jars\xalan.jar;d:\jars\xerces.jar;D:\SQLLIB\java\db2java.zip;D:\SQLLIB\java\runtime.zip;D:\SQLLIB\java\sqlj.zip;D:\SQLLIB\bin;D:\jakarta-tomcat-4.0.4\common\lib\servlet.jar
SET JAVA_HOME=d:\jdk1.3.1\lib
SET CATALINA_HOME=D:\jakarta-tomcat-4.0.4
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Your JAVA_HOME should only be d:\jdk1.3.1
/Rene
 
C Wong
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. It is working fine now.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic