Re: Running Tomcat with JRE?
On 9 Sep 2008 at 12:41, Bai Shen wrote: > Looking at the tomcat site, it says that I can run Tomcat 6 with a > JRE > instead of a full JDK. So I downloaded Tomcat 6.0.18 and I have > JAVA_HOME > pointing at JRE 1.6.0_07. However, when I go to start tomcat, it > tells me > that the JAVA_HOME variable needs to point at a JDK, not a JRE. > > Am I missing something or is this a leftover from the previous > versions? > TIA. > set your JRE_HOME not JAVA_HOME -Steve O. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Running Tomcat with JRE?
Bai, to run using the JRE you need to set JRE_HOME not JAVA_HOME. Note: in our startup file we also set JAVA_HOME to null incase it was set elsewhere. I.e: set JAVA_HOME= set JRE_HOME=%VARIABLE%\java Regards -Original Message- From: Bai Shen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 09, 2008 12:42 PM To: Tomcat Users List Subject: Running Tomcat with JRE? Looking at the tomcat site, it says that I can run Tomcat 6 with a JRE instead of a full JDK. So I downloaded Tomcat 6.0.18 and I have JAVA_HOME pointing at JRE 1.6.0_07. However, when I go to start tomcat, it tells me that the JAVA_HOME variable needs to point at a JDK, not a JRE. Am I missing something or is this a leftover from the previous versions? TIA. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Running Tomcat with JRE?
Hi Baishen the container needs a jasper compiler to compile the jsps would'nt it be great if ALL webapps had precompiled jsps??? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Tue, 9 Sep 2008 12:41:43 -0400 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Running Tomcat with JRE? > > Looking at the tomcat site, it says that I can run Tomcat 6 with a JRE > instead of a full JDK. So I downloaded Tomcat 6.0.18 and I have JAVA_HOME > pointing at JRE 1.6.0_07. However, when I go to start tomcat, it tells me > that the JAVA_HOME variable needs to point at a JDK, not a JRE. > > Am I missing something or is this a leftover from the previous versions? > TIA. _ See how Windows connects the people, information, and fun that are part of your life. http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/
Re: Running Tomcat with JRE?
- Original Message - From: "Bai Shen" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, September 09, 2008 6:41 PM Subject: Running Tomcat with JRE? Looking at the tomcat site, it says that I can run Tomcat 6 with a JRE instead of a full JDK. So I downloaded Tomcat 6.0.18 and I have JAVA_HOME pointing at JRE 1.6.0_07. However, when I go to start tomcat, it tells me that the JAVA_HOME variable needs to point at a JDK, not a JRE. Am I missing something or is this a leftover from the previous versions? TIA. Bai, not sure, we always use JDK but heres what I think... JAVA_HOME must always point at a JDK... if you have one installed... Its convention... because IDE's and the like look at it and they most definitely need JDK If you have a JRE installed you need to set this property... JRE_HOME Thats what seperates them Most times its not set because devs tend to use JDK's Tomcat most definitely runs on either... but I think if the scipts cant find JRE, they look at JAVA HOME If you running a windows service, it doesnt look at these... the location of the JRE/JDK is specified in the tab Another interesting thing... in Netbeans, Tomcat will run under the JDK you use in the environment, not sys params, or the service tabs These TC developers a clever people ;) --- HARBOR : http://www.kewlstuff.co.za/index.htm The most powerful application server on earth. The only real POJO Application Server. See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm --- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]