New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Could not initialize class org.codehaus.groovy.runtime.InvokerHelper" on JDK 14 #12599
Comments
Closing this issue. I've just tried Gradle 6.3-rc-4 and it works just fine with JDK 14. |
Same issue with openjdk version "14.0.1" 2020-04-14, brand new installation, on Windows. |
Downgrading to JDK11 also resolves the issue |
Thank you, downgrade to version 11 really solve my problem |
Thanks it work |
Same issue with gradle 7.0 , on jdk 15.0.2... |
I took advice of christianhujer and downloaded gradle 6.3 and java jdk 14. Downloaded them from here: https://jdk.java.net/archive/ and https://gradle.org/releases/ I was then able to run gradle wrapper with no issues. Thanks for your assistance christianhujer. Cheers! |
Thank you soooo much! |
Expected Behavior
Gradle works on JDK 14
Current Behavior
Gradle does not work on JDK 14
Context
I tried to upgrade a Gradle project to JDK 14.
Steps to Reproduce
Create a simple Gradle project by creating the following
build.gradle
file:Run it using
gradle --scan
or something like that.Your Environment
Build scan URL: not available, as
gradle --scan
fails.The following file
stderr.txt
was produced by, using the followingbuild.gradle.txt
asbuild.gradle
:build.gradle.txt
stderr.txt
The text was updated successfully, but these errors were encountered: