Skip to content
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

any version for java 8? #422

Open
fadhlimaulidri opened this issue Apr 13, 2021 · 4 comments
Open

any version for java 8? #422

fadhlimaulidri opened this issue Apr 13, 2021 · 4 comments

Comments

@fadhlimaulidri
Copy link

i have framework which its big enough, and java version is java 8. any version this porject for java 8?

@ysb33r
Copy link
Contributor

ysb33r commented May 2, 2021

It should work as java8. We set compatibility to JDK8 in the build.

@wkornewald
Copy link

wkornewald commented May 28, 2021

We get this error with JDK 8:

java.lang.UnsupportedClassVersionError: com/github/jrubygradle/JRubyPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

@amf3
Copy link

amf3 commented Dec 20, 2022

I also ran into this issue with openjdk 1.8.0_352 & gradle 7.6. It seems 2.1.0-alpha was compiled with Java 11 and using v2.0.2 in my project works great with JDK 8.

I verified this by downloading the jruby-gradle jars from plugins.gradle.org, unzipping the jars with the "jar" command, and using the "javap" command to verify the 'major version' used in the compiled artifacts. v2.0.2 reports major version 52 (java 1.8) and v2.1.0-alpha.2 reports major version 55 (java 1.11).

As a followup, it might be worth while on making a new v2.1.0-alpha3 artifact that's been compiled with JDK8.

@ysb33r
Copy link
Contributor

ysb33r commented Dec 21, 2022

You are free to fork this and release your won version. I do not have time to maintain this suite of plugins anymore and I don't think any of the other originals founders do either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants