Skip to content
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

Java 11 Compatibility #300

Closed
nambrosch opened this issue Jun 20, 2019 · 3 comments · Fixed by #348
Closed

Java 11 Compatibility #300

nambrosch opened this issue Jun 20, 2019 · 3 comments · Fixed by #348

Comments

@nambrosch
Copy link

This parameter breaks compatibility with jdk11 -

JVM_EXTRA_ARGS="-XX:+PrintGCDateStamps"

Here is the exception -

Unrecognized VM option 'PrintGCDateStamps'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED

Emptying this option allows Jira to start.

@wolfaba
Copy link
Contributor

wolfaba commented Oct 30, 2020

any temporary workaround for this issue until the update is released? thank you!

@nambrosch
Copy link
Author

@wolfaba i believe adding -XX:+IgnoreUnrecognizedVMOptions to java_opts should help.

@wolfaba
Copy link
Contributor

wolfaba commented Oct 30, 2020

@nambrosch Perfect! It works! Cool backward compatibility option 😄 Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment