title: Windows 7 - JAVA - starting or stopping apache 2 (httpd) service
body: <p>I would like to know how to stop, start, and restarting the Apache (2.0.64) service installed under Windows 7 in my program JAVA (executed in the same machine).</p>
  
  <p>Initially, I developed my apps in Linux environment and I had no problem to do that. Now, I'm migrating in Windows 7, and I can't do it. I have an error message like : "(OS 5)Access denied. : failed to open Apache2 service". </p>
  
  <p>At the beginning, I thought that error is due to the fact that my account system doesn't have enough rights to do so. I tried to change proprietary of folder c:\Program Files(x86)\Apache2, and in Services (open session as my account). It still no working and I get the same message every time.</p>
  
  <p>I need absolutely to control Apache2 process. </p>
  
  <p>If anyone have any ideas that could help me? </p>
  
  <p>Thank you.</p>