----- Original Message ----- From: "Bharat Dighe" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Friday, August 01, 2008 12:49 AM
Subject: How to make tomcat to use javaw.exe instead of java.exe?


I am using Apache Tomcat 5.5.26. Is there a way we can force catalina.bat to use javaw.exe instead of java.exe without changing that file? I mean using some startup parameter or environment varibale.

TIA.
- Bharat


At the bottom of
setclasspath.bat

set _RUNJAVA="%JRE_HOME%\bin\java"
set _RUNJAVAW="%JRE_HOME%\bin\javaw"

These are the settings
set _RUNJAVA="%JRE_HOME%\bin\javaw"

Should do it, I think...

If I'm not mistaken... JavaW is only found on Windows versions of Java... remember that

---------------------------------------------------------------------------
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]

Reply via email to