• 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

TomCat 4.1.18 Installation

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to TomCat. I have a problem installing TomCat 4.1.18. I have Win2000, j2sdkee1.3.1.
I am trying to start TomCat from install_dir/bin/startup.bat. I double click it, I get
The JAVA_HOME environment variable is not defined
This environment variable is needed to run this program
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME:
"Cannot find the file '-Djava.endorsed.dirs='(or one of its components). Make sure the path and filename are correct and that all the required libraries are available.

In 'startup.bat', I have setup JAVA_HOME:
if not "%JAVA_HOME%" == "" goto gotJavaHome
set JAVA_HOME=C:\j2sdk1.4.0_02
:gotJavaHome
Can anyone help me?
Thank You.
 
Srikanth Durbhakula
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK.....I got Tomcat UP.
the problem was that I was using jdk1.3 version....and the entry into CATALINA.BAT would not take this version of JDK. So, I downloaded 1.4, made changes to the 'BAT' file and started the Server. It owrked.
I have seen in other posts that JDk1.3 could be a problem. But, some some suggested that the probelm could be elsewhere....
but, to me the problem is with the combination of TOMCAT 4.1.18 and JDK1.3...These two are some how not compatible....
Thanks a bunch guys...
 
reply
    Bookmark Topic Watch Topic
  • New Topic