aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot run program. CreateProcess error=740, The requested operation requires elevation
 
Similar Threads
Building with ant from eclipse
Reading values from Task manager
Runtime.getRuntime().exec() fails intermittently.
java.io.IOException:CreateProcess error=5, Access is denied(While running build.xml in Ant editor)
WAS - Start and Stop Server Problem on Windows