Start Server.bat Error!
1 reply [Last post]
alexanderr
WoM Member
Members
WoM Member: 156724
WoM Coins: 0

I've been playing on my own server for a while now and I thought that maybe I should create an online server to get some other guys playing with me! I followed some tutorials but ended up with a lot of errors. I then downloaded some java stuff, first of all I updated my java and then I downloaded some recommended (300mb I think) java-thing. Now, when I press the "Start Server.bat" I get an error saying.

Exception in thread "main" java.lang.NoClassDefFoundError: com/mojang/minecraft/server/MinecraftServerCaused by: java.lang.ClassNotFoundException: com.mojang.minecraft.server.MinecraftServer        at java.net.URLClassLoader$1.run(Unknown Source)        at java.security.AccessController.doPrivileged(Native Method)        at java.net.URLClassLoader.findClass(Unknown Source)        at java.lang.ClassLoader.loadClass(Unknown Source)        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)        at java.lang.ClassLoader.loadClass(Unknown Source)Could not find the main class: com.mojang.minecraft.server.MinecraftServer.  Program will exit.
Help me :)

alexanderr
WoM Member
Members
WoM Member: 156724
WoM Coins: 0
Edit:

My server is now online and everything is fixed :)