Start Tomcat in windows using java code
<p>I want to start tomcat using java program .</p>

<p>I had started in linux using the below code</p>

<pre><code>String command = "c:\program files\tomcat\bin\startup.sh";
Process child = Runtime.getRuntime().exec(command);
</code></pre>

<p>It works fine.</p>

<p>I used the following code in windows </p>

<pre><code>String command = "c:/program files/tomcat/bin/startup.bat";
Process child = Runtime.getRuntime().exec(command);
</code></pre>

<p>Its not working .</p>

<p>Do i want to configure any other property for windows.</p>

<p>Thanks In Advance.</p>
