Giter Site home page Giter Site logo

Comments (3)

russjr08 avatar russjr08 commented on August 15, 2024 1

Great! That seems to have done the trick.

Just as a heads up to anyone who is updating to 1.17/1.17.1 - remember that as of Minecraft 1.17 you need to have Java 16 installed, and you will need to update to Gradle 7 for Java 16 support as well or else you will get an error like this when building:

> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x1d2c1fa3) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0x1d2c1fa3

If you're just using the gradle wrapper in your project, go into gradle/wrapper/gradle-wrapper.properties and set distributionUrl to a 7.x release, which right now the latest is https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip - then try to build your project again.

from bukkitgradle.

osipxd avatar osipxd commented on August 15, 2024

Thank you for your report!
I've added 1.17 and 1.17.1 to the list of supported versions. Can you check if it works now?

from bukkitgradle.

osipxd avatar osipxd commented on August 15, 2024

Another way to upgrade Gradle is running the following command (better to run it twice):

> ./gradlew wrapper --gradle-version=7.1.1

from bukkitgradle.

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.