Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Om Tejas
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 27
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One option which I found is to open the cmd shell using "Runas administrator" option. This resolved my problem.
 
vignesh dhakshinamoorthy
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic