Meaningless Drivel is fun!*
The moose likes Ant, Maven and Other Build Tools and the fly likes Cannot run program. CreateProcess error=740, The requested operation requires elevation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Cannot run program. CreateProcess error=740, The requested operation requires elevation" Watch "Cannot run program. CreateProcess error=740, The requested operation requires elevation" New topic
Author

Cannot run program. CreateProcess error=740, The requested operation requires elevation

Om Tejas
Greenhorn

Joined: Dec 02, 2009
Posts: 27
Hi,

I am executing a .exe file using


The environment is Windows 7 OS. And I am getting this error:

"Execute Failed: java.io.IOException : Cannot run program... CreateProcess error=740, The requested operation requires elevation".

Any help to resolve this would be greatly appreciated. Meanwhile, I will continuw with my own search to get around this problem.
Om Tejas
Greenhorn

Joined: Dec 02, 2009
Posts: 27
One option which I found is to open the cmd shell using "Runas administrator" option. This resolved my problem.
vignesh dhakshinamoorthy
Greenhorn

Joined: Jan 21, 2009
Posts: 12
Om Tejas wrote:One option which I found is to open the cmd shell using "Runas administrator" option. This resolved my problem.


using "Runas administrator" option works. Specifically for Windows 7 OS.
 
 
subject: Cannot run program. CreateProcess error=740, The requested operation requires elevation