bouncer
bouncer copied to clipboard
Java 11 ClassNotFoundException on start
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
You need to add this -XX:+IgnoreUnrecognizedVMOptions
in BOUNCER_OPTS_DEF
, inside bouncer.sh
.