Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

when installing Tomcat 6 (the latest version), it asks for the Java install directory, fair enough. But it seems to want Java version 5, which Sun is apparently end-of-life'ing, so for our environment that's not A Good Thing.

Here's its prompt, you can see it asks for version 5.0:


I guess what I'm asking is, can I run it against Java 6? I looked all over the tomcat website and found no mention of compatible java versions.

Thanks a lot

share|improve this question
I found at least two guys say it works with java 6: – Chris Aug 19 '09 at 23:34
up vote 5 down vote accepted

By looking at we can read

Tomcat 6.0 requires JRE 5.0. Read the RELEASE-NOTES and the RUNNING.txt file in the distribution for more details.

If you open RELEASE-NOTES you will see

Dependency Changes:
Tomcat 6.0 is designed to run on JSE 5.0 and later.

So it's should be fine.

share|improve this answer
congratulations to apache/tomcat for making this information so easy to find. – Roy Rico Aug 19 '09 at 23:51
I'm hearing you roy. I would have expected something like "we test and offer paid support against java version X, Y, Z" – Chris Aug 20 '09 at 0:09
You're right, if they could start by changing "Tomcat 6.0 requires JRE 5.0" by "Tomcat 6.0 requires JRE 5.0 or later" in all docs it would be a nice start. – radius Aug 20 '09 at 0:23
Well, with some very limited testing, it seems to work fine with java 6. Thanks a lot – Chris Aug 20 '09 at 0:25

I have run Tomcat 6.x on various releases of OpenJDK 7 without a hitch. The better message would have been that Tomcat 6.x cannot run on Java 1.4.x or older releases

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.