Help me with FAILURE: Build failed with an exception

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>cd ^V
The filename, directory name, or volume label syntax is incorrect.

C:\Windows\system32>cd C:\Users\Lofi\Desktop\cria mods

C:\Users\Lofi\Desktop\cria mods>gradlew setupDecompWorkspace
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 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


* 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


C:\Users\Lofi\Desktop\cria mods>

Did you do as advised in the error?
Then please also provide the --stacktrace output or even better the build --scan.

But most probably you are simply using a too new Java for the Gradle 4.9 version you are using which is ancient: Compatibility Matrix