This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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=
 
Don't get me started about those stupid light bulbs.
 
subject: Can someone pls give me the URL for Tomcat