tapasco
tapasco copied to clipboard
No compatiblilty with JDK 14 and newer
On Fedora 36 (openjdk 17.0.3) I got the following error message when trying to execute any tapasco command (even tapasco --help
):
Unrecognized VM option 'CMSClassUnloadingEnabled'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
According to here this is caused by the -XX:+CMSClassUnloadingEnabled
option which is no longer supported since the CMS Garbage Collector has been removed in JDK version 14. However, just removing this option from our build.gradle
does not solve the issue for me as now the build already fails with java.lang.IllegalArgumentException: Unsupported class file major version 61
(-> incompatiblity of used gradle version with newer JDK?).