I have set the following environment variables before running (on Windows platform):
set JAVA_HOME=D:\Program Files\Java\jdk1.6.0_21
set JRE_HOME=D:\Program Files\Java\jre6
I have downloaded
Tomcat 6 to:
D:\Software\java_web_programming\tomcat-6
I cd to:
D:\Software\java_web_programming\tomcat-6\bin and type: startup.bat
I get:
D:\Software\java_web_programming\tomcat-6\bin>startup.bat
Using CATALINA_BASE: "D:\Software\java_web_programming\tomcat-6"
Using CATALINA_HOME: "D:\Software\java_web_programming\tomcat-6"
Using CATALINA_TMPDIR: "D:\Software\java_web_programming\tomcat-6\temp"
Using JRE_HOME: "D:\Program Files\Java\jre6"
Using CLASSPATH: "D:\Software\java_web_programming\tomcat-6\bin\bootstrap.jar"
D:\Software\java_web_programming\tomcat-6\bin>
I see the console for a split second but then it vanishes.
No log file is created.
I am pretty sure there is no other server running on port 8080.
I can run
Java on the command line no problem at all.
So how do I troubleshoot that?
One thing that might help is if I run catalina.bat run I then see this:
Using CATALINA_BASE: "D:\Software\java_web_programming\tomcat-6"
Using CATALINA_HOME: "D:\Software\java_web_programming\tomcat-6"
Using CATALINA_TMPDIR: "D:\Software\java_web_programming\tomcat-6\temp"
Using JRE_HOME: "D:\Program Files\Java\jre6"
Using CLASSPATH: "D:\Software\java_web_programming\tomcat-6\bin\bootstrap.jar"
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Any ideas?