New to MCMyAdmin - Server was running fine, now it cannot detect Java?

  • 138 Views
  • Last Post 11 August 2019
  • Topic Is Solved
Gibbo posted this 11 August 2019

Hi all, Im bring back a Minecraft server from 2 years in storage, a local VM as my kids want to play again. I updated everything, Im using a Spigot build, so I ran BuildTools and everything went well. I then copied the whole minecraft setup into the MyMCAdmin folder and had everything running well. Hours of fun where had. Now this morning there has been an 'error' the server has stopped and Im now seeing these errors when starting the server from the admin webpage:

McMyAdmin Updater - 2.2.0.0

Running in 64-bit mode. Notice : Detecting System... Notice : System is running in a VMware environment. Notice : Linux Distribution: Ubuntu Notice : Detection complete. Warning : Unable to detect java version! Java may not be installed or may be outdated. Error : McMyAdmin was not shut down properly! Error : To avoid potential data loss, please perform /quit on this console. Error : Startup will resume in 5 seconds... Notice : Starting McMyAdmin Personal v2.7.1.0 Notice : Checking for updates... Notice : Checking for Minecraft Server updates... Notice : Starting webserver... Notice : McMyAdmin has started and is ready for use. McMyAdmin Core Exception: An exception was thrown by the type initializer for System.Drawing.GDIPlus Notice : Server jar hash is c81b65b6-aedd-59da-8ecb-9e560d5a2604 Notice : Starting Minecraft Server... Notice : Minecraft server has stopped running. Warning : Server was not yet ready, automatically restarting (Attempt: 1 of 5) Unrecognized option: - Notice : Server jar hash is c81b65b6-aedd-59da-8ecb-9e560d5a2604 Notice : Starting Minecraft Server... Unrecognized option: - Notice : Minecraft server has stopped running.

Java version: root@minecraft:~# java -version openjdk version "1.8.0222" OpenJDK Runtime Environment (build 1.8.0222-8u222-b10-1ubuntu1~16.04.1-b10) OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)

root@minecraft:~# update-alternatives --config java There is only one alternative in link group java (providing /usr/bin/java): /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java Nothing to configure.

Ive tried running BuildTools again and replacing spigot.jar with the newly compiled .jar as well. Any ideas? Thanks in advance.

Gibbo posted this 11 August 2019

Manged to get it running again, I removed these options from the conf file:

  • server -Xms512M -Xmx2048M -XX:+UseG1GC nogui

Are there better ones to use? Thanks

Close