title: Java CreateProcess Error in Windows 7 UAC
body: <p>I'm not able to programatically launch an Exe on a Windows 7 64-bit workstation. If UAC is off then the Exe will be launched from the bean. If UAC is on then the java console reports <code>CreateProcess error=740, The requested operation requires elevation</code>.</p>
  
  <p>A java bean is launching the Exe on the workstation using</p>
  
  <pre><code>Process p = rt.exec(args);
  
  Have also the ProcessBuilder class.
  ProcessBuilder p = new ProcessBuilder(new String[] { "cmd.exe", "/C", m_sProg, m_sParams});
  </code></pre>
  
  <p>Thanks.</p>