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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
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@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]