wood burning stoves 2.0*
The moose likes JSP and the fly likes Can someone pls give me the  URL for Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Can someone pls give me the  URL for Tomcat" Watch "Can someone pls give me the  URL for Tomcat" New topic
Author

Can someone pls give me the URL for Tomcat

Rob Petterson
Ranch Hand

Joined: Jan 23, 2002
Posts: 149
Hi there,
Which version of Tomcat do I need for Windows?
The version I have installed at the moment is 4.1.12 which came zipped-up. I've probably got the right one, but I would really like to double check, as I'm having problems running Tomcat.
I keep getting the error:
The JAVA_HOME enviroment variable is not defined. I find this strange because in my autoexec.bat file I have JAVA_HOME = c:\j2sdk1.4.0_01
I can't see where the problem is.


Rob Petterson
SCJP
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
Have you tried the following?
(1) <Open up a command (DOS) window>
(2) set JAVA_HOME=c:\j2sdk1.4.0_01
(3) cd c:\jakarta-tomcat-4.1.12\bin
(4) startup
This generally works for most people I've spoken to. Hope it helps you!
Simon
Rob Petterson
Ranch Hand

Joined: Jan 23, 2002
Posts: 149
Simon,
I did what you said, but I'm still getting the following eror message in Dos:
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:
Invalid switch - -DJAVA.ENDORSED.DIRS=
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can someone pls give me the URL for Tomcat