Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Tomcat 5.5.20 on Windows - Service and App

Len Popp

2007-02-10

Replies:

When you run Tomcat with startup.bat it uses the JAVA_HOME environment
variable to find the JAVA JVM. You must set JAVA_HOME to the JVM you
want to use.

When you run it as a service, the service wrapper gets the JVM
location and other settings from the registry. You can change these
using the Configure Tomcat program.
--
Len

On 2/10/07, news@(protected):
> Hello,
>
> I ve downloaded two Windows versions of Tomcat. First the Serviceinstaller,
> second the 'normal' zip archive.
> Than I installed the Java JRE (!) on my system.
>
> When starting the service installation of Tomcat the programm runs fine.
> When starting Tomcat by hand using 'bin/startup run' I get the message:
> JAVA_HOME should point to a JDK not a JRE
>
> Why is it that I can start Tomcat as a service using the JRE only, but fail
> when using the 'normal' Tomcat App?
>
> Thanks,
> Jan
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.