2007/3/29, Martin Gainty <[EMAIL PROTECTED]>:
Tomcat officially requires the full JDK, because it needs javac in order to 
compile JSPs. If you pre-compile all your JSPs, you can get away with running 
tomcat on a JRE only, but you do so at your own risk.

From

http://tomcat.apache.org/tomcat-5.5-doc/RELEASE-NOTES.txt

"In addition, Tomcat 5.5 uses the Eclipse JDT Java compiler for compiling
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."

I set the JRE_HOME and *NOT* the JAVA_HOME, since I only have the JRE
installed, but when I start tomcat it complains because the JAVA_HOME
is not defined.

Who is wrong here? The FAQ or the RELEASE-NOTES?

thanks,

--
TREMALNAIK

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to