title: Running .exe on Server Side
body: <p>I am trying to run a .exe from the server side on GWT but it is giving me a access denied error.Exact error is :-</p>
  
  <blockquote>
    <p>java.security.AccessControlException:
    access denied (java.io.FilePermission
    &lt;> execute)    at
    java.security.AccessControlContext.checkPermission(Unknown
    Source)   at
    java.security.AccessController.checkPermission(Unknown
    Source)   at
    java.lang.SecurityManager.checkPermission(Unknown
    Source)   at
    com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:166)
      at
    java.lang.SecurityManager.checkExec(Unknown
    Source)   at
    java.lang.ProcessBuilder.start(Unknown
    Source)   at
    java.lang.Runtime.exec(Unknown Source)
      at java.lang.Runtime.exec(Unknown
    Source)</p>
  </blockquote>
  
  <p>and this is what is printed in error->"error===access denied (java.io.FilePermission "ALL FILES" execute)"</p>
  
  <p>I even tried to change the security permissions of the file  by
  changing the java.policy file(<a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rsec_javapolicy.html" rel="nofollow noreferrer">Here</a>) but it still gives the same error.I added these lines -    </p>
  
  <blockquote>
    <p>grant {    permission
    java.io.FilePermission  "C:\Documents
    and Settings\User\Desktop\ABCD.exe",
    "execute"; };</p>
  </blockquote>
  
  <p>I have
  also tried to place it under /war/WEB-INF but in vain.Some searching on the net led me to the fact that google app engine might be the cause for this .
  Can someone help me with this?<br>
  p.s. I saw a similar post <a href="https://stackoverflow.com/questions/2415958/runtime-exec-in-gwt">(Here )</a>which mentions that something like this should be possible on the server side.</p>