'When entering gradlew.bat genIntellijRuns gets an error - Build failed with an exception
To honour the JVM settings for this build a new JVM will be forked. Please consi der using the daemon: https://docs.gradle.org/4.9/userguide/gradle_daemon.html.
FAILURE: Build failed with an exception.
- What went wrong: Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide chapter on the daemon at 4.9/userguide/gradle_daemon.html Please read the following process output to find out more:
FAILURE: Build failed with an exception.
What went wrong: java.lang.ExceptionInInitializerError (no error message)
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at
When scanning.
To honour the JVM settings for this build a new JVM will be forked. Please consi der using the daemon:
FAILURE: Build failed with an exception.
- What went wrong: Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide chapter on the daemon at 4.9/userguide/gradle_daemon.html Please read the following process output to find out more:
FAILURE: Build failed with an exception.
What went wrong: java.lang.ExceptionInInitializerError (no error message)
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at
info:
Initialized native services in: C:\Users\Олег.gradle\native To honour the JVM settings for this build a new JVM will be forked. Please consi der using the daemon: https://docs.gradle.org/4.9/userguide/gradle_daemon.html. Starting process 'Gradle build daemon'. Working directory: C:\Users\╨Ю╨╗╨╡╨│.gr adle\daemon\4.9 Command: C:\Program Files\Java\jdk-18\bin\java.exe -Xmx3G -Dfile .encoding=UTF-8 -Duser.country=RU -Duser.language=ru -Duser.variant -cp C:\Users \╨Ю╨╗╨╡╨│.gradle\wrapper\dists\gradle-4.9-bin\e9cinqnqvph59rr7g70qubb4t\gradle- 4.9\lib\gradle-launcher-4.9.jar org.gradle.launcher.daemon.bootstrap.GradleDaemo n 4.9 Successfully started process 'Gradle build daemon' An attempt to start the daemon took 0.83 secs.
FAILURE: Build failed with an exception.
- What went wrong: Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide chapter on the daemon at 4.9/userguide/gradle_daemon.html Please read the following process output to find out more:
FAILURE: Build failed with an exception.
What went wrong: java.lang.ExceptionInInitializerError (no error message)
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at
Try: Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
Get more help at
I tried reinstalling JRE JDK didn't help.I downloaded the build file.gradle from the site https://files.minecraftforge.net/net/minecraftforge/forge/index_1.12.2.html
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
