09 September 2013

Start tomcat using javaw

To start tomcat using javaw instead of java - to avoid opening cmd window in M$ windows ; edit the following file:

%CATALINA_HOME% in\setclasspath.bat

And replace:
set _RUNJAVA="%JRE_HOME% in\java"

by:
set _RUNJAVA="%JRE_HOME% in\javaw"

Now you can put in your windows startup folder (from start-menu) to autostart.
Post a Comment