Gradle 8 erroring java.lang.ClassNotFoundException

Hey there,

Im new to the Gradle forums so sorry if I am doing something wrong! But I recently started having issues when trying to compile my gradle projects. It’s very weird because it works on my Linux install but not on my Windows.

This is the main Error: pastes

My Build Scan As well: Build Scan® | Develocity

Any help would be appreciated :smiley: <3

sorry if I am doing something wrong

No, all is fine.
Sharing a build scan is perfect actually.
You do not even need to share the output separately, as it is part of the build scan.

Unfortunately the reason of the error is not clear to me.
Gradle tries to start a worker process and that fails with exit code 1.
Maybe using --info or --debug sheds some more light on it.
Or maybe you find some additional log file in your GRADLE_USER_HOME (by default ~/.gradle/) that has some more information.

If all that does not help, you might need to debug into the Gradle code to find out what is going wrong.
Do you maybe have some “weird” (i.e. non-ASCII) characters in your project’s path?
Might help to move the project to some other directory and then probably create an issue for it if there is none yet.