When i try and run my MC server through linux command line i get this
root@mcserver:/home/minecraft# java -Xms1G -Xmx3G -jar server.jar nogui
Error: Could not find or load main class net.minecraft.server.MinecraftServer
Caused by: java.lang.ClassNotFoundException: net.minecraft.server.MinecraftServer
Im trying to run the 1.15.2 server jar on Ubuntu 1.9.10
Java version is:
root@mcserver:/home/minecraft# java -version
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu119.10.1)
OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu119.10.1, mixed mode, sharing)
When i try and run my MC server through linux command line i get this
Im trying to run the 1.15.2 server jar on Ubuntu 1.9.10
Java version is: