Posted July 8, 20169 yr I'm trying to build my mod for release, so i open the command prompt on windows and go to my mod directory and type "gradlew build" but i get an exception, it says "A problem occurred starting process 'Gradle build daemon'", can anyone help me?
July 8, 20169 yr Post the full output of the command. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
July 8, 20169 yr Author This is what I get with --stacktrace C:\Users\Peter\Desktop\AssetsMod>gradlew build --stacktrace To honour the JVM settings for this build a new JVM will be forked. Please consi der using the daemon: https://docs.gradle.org/2.7/userguide/gradle_daemon.html. FAILURE: Build failed with an exception. * What went wrong: A problem occurred starting process 'Gradle build daemon' * Try: Run with --info or --debug option to get more log output. * Exception is: org.gradle.process.internal.ExecException: A problem occurred starting process ' Gradle build daemon' at org.gradle.process.internal.DefaultExecHandle.setEndStateInfo(Default ExecHandle.java:197) at org.gradle.process.internal.DefaultExecHandle.failed(DefaultExecHandl e.java:327) at org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.jav a:86) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures. onExecute(ExecutorPolicy.java:54) at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableE xecutorImpl.java:40) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: net.rubygrapefruit.platform.NativeException: Could not start 'C:\Prog ram Files\Java\jdk1.8.0_91\bin\java.exe' at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(Def aultProcessLauncher.java:27) at net.rubygrapefruit.platform.internal.WindowsProcessLauncher.start(Win dowsProcessLauncher.java:22) at net.rubygrapefruit.platform.internal.WrapperProcessLauncher.start(Wra pperProcessLauncher.java:36) at org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.jav a:68) ... 5 more Caused by: java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.8 .0_91\bin\java.exe" (in directory "C:\Users\Peter\.gradle\daemon\2.7"): CreatePr ocess error=740, The requested operation requires elevation at java.lang.ProcessBuilder.start(Unknown Source) at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(Def aultProcessLauncher.java:25) ... 8 more Caused by: java.io.IOException: CreateProcess error=740, The requested operation requires elevation at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 10 more
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.