Git Product home page Git Product logo

Comments (5)

nirvdrum avatar nirvdrum commented on May 24, 2024 5

@avcismail I came across this issue when looking at a build issue with an unrelated project. I'm not terribly well-versed in Gradle, but I think the issue is that the latest version of Gradle (8.7) does not support Java 22. When I switched to Java 21 the error went away and I was able to build the project that was problematic for me.

from cli.

cesarse avatar cesarse commented on May 24, 2024 1

confused, bc it says here, that java se 22 does infact support class 66

@cacami6564844, java se 22 supports class 66, but according to this you cannot run gradle 8.7 with java se 22.

from cli.

skyhand727 avatar skyhand727 commented on May 24, 2024

I have the same issue.
https://stackoverflow.com/questions/67079327/how-can-i-fix-unsupported-class-file-major-version-60-in-intellij-idea
Hope it will help.

from cli.

szymonrybczak avatar szymonrybczak commented on May 24, 2024

hey! @avcismail Please follow these two steps, and let me know if you still encounter your issues.

  1. Make sure that you're using proper Java version for your project,
  2. Make sure that npx react-native config passes.

from cli.

cacami6564844 avatar cacami6564844 commented on May 24, 2024

@avcismail I came across this issue when looking at a build issue with an unrelated project. I'm not terribly well-versed in Gradle, but I think the issue is that the latest version of Gradle (8.7) does not support Java 22. When I switched to Java 21 the error went away and I was able to build the project that was problematic for me.

image_2024-04-12_151645392
confused, bc it says here, that java se 22 does infact support class 66

from cli.

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.