Tomcat と JDK のバージョン
Tomcat のバージョンと、使用する JDK のバージョンについて調べる機会があったのでメモ。
- Tomcat 4.1
Download the Java 2 Standard Edition (J2SE) SDK, release version 1.3 or
later, from:NOTE: Downloading the Java Runtime Environment (JRE) instead is *not*
http://tomcat.apache.org/tomcat-4.1-doc/RUNNING.txt
sufficient for most users because Tomcat uses the javac.exe that is not
present in the JRE to compile JSP pages. Unless you are *very* sure of
what you are doing, please use the full SDK.
- Tomcat 5.5
Tomcat 5.5 is designed to run on J2SE 5.0 and later, and requires
configuration to run on J2SE 1.4. Make sure to read the "RUNNING.txt"
file in the fulldocs downloadable file(s) if you are using J2SE 1.4.In addition, Tomcat 5.5 uses the Eclipse JDT Java compiler for compiling
http://tomcat.apache.org/tomcat-5.5-doc/RELEASE-NOTES.txt
JSP pages. This means you no longer need to have the complete
Java Development Kit (JDK) to run Tomcat, but a Java Runtime Environment
(JRE) is sufficient. The Eclipse JDT Java compiler is bundled with the
binary Tomcat distributions. Tomcat can also be configured to use the
compiler from the JDK to compile JSPs, or any other Java compiler supported
by Apache Ant.
- Tomcat 6.0
Tomcat 6.0 is designed to run on JSE 5.0 and later.
In addition, Tomcat 6.0 uses the Eclipse JDT Java compiler for compiling
http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
JSP pages. This means you no longer need to have the complete
Java Development Kit (JDK) to run Tomcat, but a Java Runtime Environment
(JRE) is sufficient. The Eclipse JDT Java compiler is bundled with the
binary Tomcat distributions. Tomcat can also be configured to use the
compiler from the JDK to compile JSPs, or any other Java compiler supported
by Apache Ant.
大雑把に表にするとこんな感じ。
Tomcat | J2SE |
4.1 | J2SE 1.3 以降 |
5.5 | J2SE 1.4 以降 |
6.0 | J2SE 5.0 以降 |
調べてみたら「ドキュメント見ろやゴルァ」って事に気付く罠orz