We are getting this error on starting tomcat (both as a service and via command line):
This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat binary download page.
We have the version with a tomcat5.exe and tomcat5w.exe – no bat files 🙁
The path only has jdk5 on it:
Path=f:\Program Files\Java\jdk1.5.0_06\bin;C:\WINDOWS\System32
We are using Tomcat5.5, with jdk 1.5.0_06 installed on the same machine.
java version '1.5.0_06' Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
The JAVA_HOME also points to the same version:
F:\Development\Program Files\Apache Software Foundation\Tomcat 5.5\bin>set j JAVA_HOME=f:\Program Files\Java\jdk1.5.0_06
Any tips on where I am going wrong?
Thanks Chris
You only have the exe version and not the bat files, because you’ve downloaded the Windows Installer and not the zip file. The bat files are only included in the zip file. You can download the zip and copy the bat files to the bin directory. No need to uninstall.
I bet that you have a PATH problem. Check if there is an old version of Java in a system directory. Also, make sure that you modify the PATH system wide and not per command line session.