Jump to content

Linux server "Could not find the main class"


PJUmbreon

Recommended Posts

I'm working on setting up my private server to run Pixelmon and Tale of Kingdoms for me and my friend to play on it. However, when I try starting up the server with Forge only, I get this error:

[ec2-user@ip-10-252-138-154 MinecraftServer]$ sudo java -Xmx512M -Xms512M -jar minecraft_server.jar nogui
Exception in thread "main" java.lang.NoClassDefFoundError: aki
Caused by: java.lang.ClassNotFoundException: aki
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: net.minecraft.server.MinecraftServer. Program will exit.

Any way to fix this?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.