Minecraft Server Ubuntu Does Not Start ~ Error Could not Create the Java Virtual Machine?

bo
- in Servers
2

I have the Java version + openjdk 11.0.3 from 16.04.2019 on my Ubuntu server (19.04).

As soon as I want to start the server now I get the error message:

Error: Could not create the Java Virtual Machine.
Error: A fatal exeption has occurred. Program wants exit.

Does anyone have any idea why this might be?

fu
-1

Start with java 8

Lo

Openjdk 11 is not compatible with openjdk 8

if not already installed: http://ubuntuhandbook.org/index.php/2019/04/install-openjdk-8-ubuntu-19-04/

and if already installed: https://askubuntu.com/questions/740757/switch-between-multiple-java-versions