Jump to content

gradlew.bat build for mod won't start


peter1745

Recommended Posts

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.