I’ve installed AMP on latest version of Ubuntu. Whenever I create a instance of minecraft java It just says Unable to start server when I try to start server in the manage tab. I receive this message: The Minecraft server stopped within 5 seconds of starting, this is not a fault with AMP - you should check your Minecraft servers log files to find out why it is unable to start.
I am fairly new to this so some guidance would be appreciated.
Steps to reproduce:
Step 1 Create New Minecraft Java Instance
Step 2 Clicked on manga tab next to stop instance
Step 3 Clicked start. I also have tried clicking update.
Actions taken to resolve so far:
I had an issue where the instance would not start either but that has been resolved. I have not come across anything to try.
Error: LinkageError occurred while loading main class net.minecraft.bundler.Main
java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0
I now have the correct version of Java. Server still does not start.
openjdk 17.0.2 2022-01-18
OpenJDK Runtime Environment (build 17.0.2+8-86)
OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)
command window:
Error: LinkageError occurred while loading main class net.minecraft.bundler.Main
java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0