Giter Site home page Giter Site logo

Comments (4)

ysb33r avatar ysb33r commented on September 19, 2024

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

from jruby-gradle-plugin.

wkornewald avatar wkornewald commented on September 19, 2024

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

from jruby-gradle-plugin.

amf3 avatar amf3 commented on September 19, 2024

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.

from jruby-gradle-plugin.

ysb33r avatar ysb33r commented on September 19, 2024

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.

from jruby-gradle-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.