Open new process from a java application which is started by a windows service
<p>I'm having a java application which opens the notepad.exe using, Runtime.getRuntime().exec().</p>

<p>And I want to run this application as a windows service. So I created a windows service using C#.</p>

<p>and I could successfully installed the service using 'installutil' command. </p>

<p>But although my java application started properly by the windows service, it does not open the notepad.exe.</p>

<p>I thought the problem is where the service is run as a SYSTEM process but not as the current login user. So I installed the service under the current user, by giving user credentials in installutil command.</p>

<p>Then the service and the java application properly started under the current user and I could see notepad.exe also created under the same user. But notepad is not visible.</p>

<p>Can anyone guide what has happened here please.</p>

<p>Thanks</p>
