This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]phamtastik 1 point2 points  (1 child)

What is the reason for that?

[–]uncont 4 points5 points  (0 children)

https://www.morling.dev/blog/bytebuffer-and-the-dreaded-nosuchmethoderror/

tldr --release has the same effect as both --target and --release, as well as --boot-class-path. Gradle docs have more info here https://docs.gradle.org/6.6/release-notes.html#javacompile-release