tapasco icon indicating copy to clipboard operation
tapasco copied to clipboard

No compatiblilty with JDK 14 and newer

Open tsmk94 opened this issue 2 years ago • 0 comments

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?).

tsmk94 avatar Aug 18 '22 09:08 tsmk94