Posted November 27, 20213 yr So I'm trying to build the clean phobos, but I keep getting this error: 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 https://docs.gradle.org/4.9/userguide/gradle_daemon.html Please read the following process output to find out more: I have my JAVA_HOME pointed at the right folder (C:\Program Files\Java\jdk-17.0.1) (I have a 64bit system), so I don't know what the problem is. Any suggestions?
November 27, 20213 yr Author And just in case I also set the amount of RAM it can use in the gradle.properties file to org.gradle.jvmargs=-Xmx8G.
November 27, 20213 yr java 17 is not supported yet 1.17 and later need Java 16, 1.16.5 and older need Java 8
November 27, 20213 yr Author 6 hours ago, Luis_ST said: java 17 is not supported yet 1.17 and later need Java 16, 1.16.5 and older need Java 8 Now I'm getting another error: C:\Users\<MyUserName>\Desktop\CLEAN_Phobos_1.9.0-BUILDABLE-SRC-main>gradlew setupdecompworkspace Starting a Gradle Daemon (subsequent builds will be faster) 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 https://docs.gradle.org/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 https://help.gradle.org Edited November 27, 20213 yr by N1ghtm4r3xSH0T
November 27, 20213 yr First you need to run "gradlew genEclipseRuns" / "gradlew genIntellijRuns" and then "gradlew eclipse" / "gradlew intellij". There isn't a setupdecompworkspace any more Sorry if my Posts are weird sometimes, I just try to help and learn as much as I can Also: PLEASE use SPOILERS for logs!
November 27, 20213 yr Also you should consider reading the README.txt file (there it explains how to set up the workspace and what to do on specific errors) Sorry if my Posts are weird sometimes, I just try to help and learn as much as I can Also: PLEASE use SPOILERS for logs!
November 27, 20213 yr Author I got it now I installed the java 16 jdk instead of 8. Now it works thanks!
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.