http://tomcat.apache.org/faq/misc.html#fullJdk
Can I run tomcat with the JRE, or do I need the full JDK? 
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.

BTW: precompiling JSPS can be accomplished by ANT tasks but you will *probably* 
be better to include JDK for dynamic JSP precompilation

My 2 pennies
M--
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
----- Original Message ----- 
From: "Tremal Naik" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, March 29, 2007 10:07 AM
Subject: Tomcat 5.5: Jre or Jdk?


> Hello,
> 
> excuse me for the very simple question, but I'm not able to find a
> reference for it.
> 
> I'm trying to use Tomcat 5.5.16 with JRE 1.5 installed. When I start
> it complains that JAVA_HOME environment variable is required, when I
> set this variable as my JRE root, it complains that JAVA_HOME should
> point to a JDK, not a JRE.
> 
> I know that 5.5 version doesn't need the JDK since it incorporates the
> eclipse compiler. Maybe I missed something in the configuration, can
> you help me, please?
> 
> -- 
> 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