• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Startup problem - Tomcat 4.0.4 and Windows ME

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks. It is working fine now.
 
So I left, I came home, and I ate some pie. And then I read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic