Have you set the JAVA_HOEM environement variable? This MUST point to your JDK installation (eg: c:\j2sdk1.4)
In order to diagnost the problem, run catalina.bat run rather than the TOmcat.bat file. This will prevent a new window from popping up and disapeering, enabling you to see that the exact problem is.
Thanks, I'll try that. I haven't tried running tomcat.bat yet though. I've only tried running autoexec.bat. Since the Exam Study Kit says to do that, and I got stuck on it, I didn't go any further.
I actually hadn't set up any environmental variables. I downloaded the jdk, but I guess I hadn't fully installed it yet. I had forgot to set classpaths, etc. It's been about 2 years since I've actually worked with Java, and I had forgotten what you had to do. I guess I'll check the installation instructions on Sun's website. I assume they tell you how to set HOME and CLASSPATH variables, and everything else you need to do?
Originally posted by Carl Trusiak:
What operating system are you running? If you are running on Win98 or before, there wasn't enough space in the Enviroment to put everything need for Tomcat to install and setup. You need to modify your c:\config.sys, and add a line like:
SHELL=C:\COMMAND.COM /P /E:2048
your terminals will always have 2048 of environment space. Adjust 2048 as needed.
I'm running 98. Thanks for the info. I know zero about DOS commands, and next to nothing about OSs. So I just put "SHELL=C:\COMMAND.COM /P /E:2048" at the end of config.sys? How do I "adjust 2048"?
I might just see if a friend of mine has Visual J++. I assume you don't have to deal with all this nonsense, and that it's a simple install?