tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Kewl" <j...@kewlstuff.co.za>
Subject Re: How to make tomcat to use javaw.exe instead of java.exe?
Date Fri, 01 Aug 2008 13:53:16 GMT

----- Original Message ----- 
From: "Bharat Dighe" <bdighe007@yahoo.com>
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message