java-decompiler / jd-gui

A standalone Java Decompiler GUI
GNU General Public License v3.0
13.97k stars 2.38k forks source link

jd-gui fails to build #443

Open algebravic opened 6 months ago

algebravic commented 6 months ago

I did a git clone and ./gradlew build

But I got the following:

FAILURE: Build failed with an exception.

* What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
> Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.reflection.ReflectionCache [in thread "Daemon worker"]

* 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

BUILD FAILED in 0s

I'm on a M2 mac running Sonoma 14.4.1, and have openjdk 21.906 installed via homebrew.

Edmon-Leo commented 5 months ago

Same problem +1

dineshbhagat commented 5 months ago

Please refer https://github.com/java-decompiler/jd-gui/issues/398