jQuery in Action, 2nd edition*
The moose likes Tomcat and the fly likes TomCat 4.1.18 Installation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "TomCat 4.1.18 Installation" Watch "TomCat 4.1.18 Installation" New topic
Author

TomCat 4.1.18 Installation

Srikanth Durbhakula
Greenhorn

Joined: Feb 06, 2003
Posts: 3
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

Joined: Feb 06, 2003
Posts: 3
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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TomCat 4.1.18 Installation