.Unable to start the daemon process

Hey Everyone, I’m really hoping I can get some help.

I’ve been trying to mod a Minecraft client recently, I’m not sure if that information will help here, but I was told to run a gradlew eclipse genEclipseRuns command in my command prompt on windows 10. But whenever I run it it’s supposed to say something like “build successful”. But Instead, I get this.

C:\Users\balle\Desktop\Basics>gradlew eclipse genEclipseRuns
To honour the JVM settings for this build a new JVM will be forked. Please consider 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 The Gradle Daemon - Gradle User Manual
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**

*** 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**

Can someone please try to help me?