• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Startup problem - Tomcat 4.0.4 and Windows ME

 
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
 
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • 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.
 
God is a comedian playing for an audience that is afraid to laugh - Voltair. tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!