java.io.IOException: Cannot run program "C:\Windows\system32\java.exe": CreateProcess error=740, The requested operation requires elevation

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");

,
Expert tip

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe

Solutions on the web

via feed-the-beast.com by Unknown author, 1 year ago
Cannot run program "C:\Windows\system32\java.exe": CreateProcess error=740, The requested operation requires elevation
via Stack Overflow by Manoj Krishna
, 1 year ago
Cannot run program "cd C:\glm": CreateProcess error=2, The system cannot find the file specified
via Oracle Community by 582711, 1 year ago
Cannot run program "C:\Users\Shilpu\AppData\Local\Temp\ismp007\LauncherMain.exe": CreateProcess error=740, The requested operation requires elevation
via Eclipse Bugzilla by nitish.thakur, 1 year ago
Cannot run program "C:\Program": CreateProcess error=2, The system cannot find the file specified.
via Stack Overflow by Nitish
, 8 months ago
Cannot run program "sonar-runner" (in directory "G:\Java\Workspace"): CreateProcess error=2, The system cannot find the file specified
via co.uk by Unknown author, 1 year ago
Cannot run program "C:\Program Files (x86)\Common Files\Metaboli\Core\yummy.launcher.exe": CreateProcess error=740, The requested operation requires elevation
java.io.IOException: Cannot run program "C:\Windows\system32\java.exe": CreateProcess error=740, The requested operation requires elevation
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at net.ftb.util.winreg.RuntimeStreamer.execute(RuntimeStreamer.java:76)
at net.ftb.util.winreg.JavaInfo.(JavaInfo.java:44)
at net.ftb.util.winreg.JavaFinder.findJavas(JavaFinder.java:95)
at net.ftb.util.winreg.JavaFinder.parseWinJavaVersion(JavaFinder.java:131)
at net.ftb.gui.panes.OptionsPane.(OptionsPane.java:132)
at net.ftb.gui.LaunchFrame.(LaunchFrame.java:504)
at net.ftb.gui.LaunchFrame$1.run(LaunchFrame.java:274)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
151 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.