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 ClassNotFoundException on start #23

Open
omgcyrilic opened this issue Dec 31, 2020 · 1 comment
Open

Java 11 ClassNotFoundException on start #23

omgcyrilic opened this issue Dec 31, 2020 · 1 comment
Assignees
Labels

Comments

@omgcyrilic
Copy link

Hello,

I am using Debian 10.7 and Java 11. At first I received the following:

Unrecognized VM option 'PrintGCDateStamps'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

So I added -XX:+IgnoreUnrecognizedVMOptions to the argument list.

Now I'm getting:

openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-post-Debian-1deb10u2)
OpenJDK 64-Bit Server VM (build 11.0.9.1+1-post-Debian-1deb10u2, mixed mode, sharing)
Error: Could not find or load main class org.javastack.bouncer.Bouncer
Caused by: java.lang.ClassNotFoundException: org.javastack.bouncer.Bouncer

Any help would be appreciated!
Thanks

@ggrandes ggrandes self-assigned this Jan 7, 2022
@ggrandes
Copy link
Owner

You need to add this -XX:+IgnoreUnrecognizedVMOptions in BOUNCER_OPTS_DEF, inside bouncer.sh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants