-
Notifications
You must be signed in to change notification settings - Fork 421
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
Exception on gradlew shadowJar #2103
Comments
I ran into the same issue. The problem is this line in the
After commenting it out, I was able to build the server on my Raspberry Pi 4 with openjdk-armf successfully. |
The PR above fixes this problem for users that don't want to use or cannot use Adoptium JDK. |
The root cause seems to be this gradle issue: gradle/gradle#19295 |
I'm still getting this issue though I see it's been removed from the gradle file.
And the output of javaToolChains
I'm not super familiar with Java but seems in my case there's also an issue with how the JDK was installed. Edit: missed the comment earlier with the link to the Gradle issue. Seems this on their end and I'm not seeing any workarounds. |
Installing Java 8 on your system should allow Gradle to pick up the installation and compile it correctly. |
Expected Behavior
That the
./gradlew shadowJar
command work with a clean install.Actual Behavior
The command erred.
Steps to Reproduce
README.md
as of 2023-03-03./gradlew shadowJar
Debug information
Crashdump, Backtrace or Other Files
The text was updated successfully, but these errors were encountered: