title: running -jar file from php code
body: <p>I want to run -jar file from my php script, my -jar file run perfectly through commandline but i want to integrate it to my website but it is not working properly and also not provide me any error. my code is below</p>
  
  <pre><code>if (isset($_POST['Export'])) { 
    exec('java -Xmx1024M -jar C:\UploadTest-1_2.jar http://localhost:8080/packaging/Package C:\book\testbook.pdf –pass park345');
    echo 'export button clicked';
  }
  </code></pre>
  
  <p>output is:<br>
  export button clicked but -jar not doing needful.</p>