Code Monkey home page Code Monkey logo

Comments (6)

cortinico avatar cortinico commented on July 28, 2024

I'm having this same issue.

General error during semantic analysis: Unsupported class file major version 62

This is happening as the .jar of Danger Kotlin has been built with Java 18 as target. I'm not sure this was intended as forcing all the users to be on Java 18 is a hard requirement.

I see that the publishing CI is configured to build with Java 8 so I'm not sure why this error is happening

cc @f-meloni for visibility :)

from kotlin.

gianluz avatar gianluz commented on July 28, 2024

Do you think this change should solve the issue? https://github.com/danger/kotlin/pull/231/files#diff-0b68412e919f5a55fead1a67b3b8a630add48837dba7b0771d6a53b569c94d9cR28
i think i saw the error during the work for the M1 compatibility and i've upgraded java.. this PR still has one small thing to fix then is good to go, could you please try to install directly from that branch and let me know if that solves the issue?

from kotlin.

cortinico avatar cortinico commented on July 28, 2024

i think i saw the error during the work for the M1 compatibility and i've upgraded java..

Yeah it might. Have you built the binary from your machine and uploaded it manually for the last release? If so, this could be the case

from kotlin.

PAMAZ avatar PAMAZ commented on July 28, 2024

Our Mac has not an M1 processor. We have tried @gianluz change but We are still facing the same issue.
Here you can see our mac JDK and gradle configuration, might be this the issue? Thx, Paolo :)

Screenshot 2022-06-28 at 16 50 49

Screenshot 2022-06-28 at 16 51 12

from kotlin.

gianluz avatar gianluz commented on July 28, 2024

Could you try by cloning the repo and install by make install command?

from kotlin.

cortinico avatar cortinico commented on July 28, 2024

Could you try by cloning the repo and install by make install command?

I've tried it and it works fine for me 👍 Still it's not really portable + it requires re-clone & re-build for every version update.

from kotlin.

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.