Jump to content

Question

Posted

Title: Cannot Launch a Server

Version: 3.1.2

OS: Windows 7

Java Version: Java 7 Update 5

Description of Problem:

Gives me this when I use the run.bat file.

Error Messages:

Error Log:


C:\Users\Yanni\Desktop\Server>java -Xmx3G -Xms2G -jar Tekkit.jar nogui

182 recipes

27 achievements

16:43:58 [iNFO] Starting minecraft server version 1.2.5

16:43:58 [iNFO] Attempting early MinecraftForge initialization

16:43:58 [iNFO] Completed early MinecraftForge initialization

16:43:58 [iNFO] Forge Mod Loader version 2.2.91.173 for Minecraft 1.2.5 loading

16:43:58 [iNFO] Loading mods from C:\Users\Yanni\Desktop\Server\mods

16:43:59 [WARNING] Failed to load mod class net/minecraft/server/mod_NetherOres.

class in C:\Users\Yanni\Desktop\Server\mods\mod_NetherOres.jar

16:43:59 [sEVERE] Zip file mod_NetherOres.jar failed to read properly

16:43:59 [iNFO] File mod_NetherOres.jar contained no mods

16:43:59 [iNFO] Directory weaponmod contained no mods

16:43:59 [sEVERE] A problem has occured during mod loading. Likely a corrupt jar

 is located in your mods directory

16:43:59 [sEVERE] cpw.mods.fml.common.LoaderException: cpw.mods.fml.common.Loade

rException: java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_Net

herOres : Unsupported major.minor version 51.0

16:43:59 [sEVERE]       at cpw.mods.fml.common.Loader.load(Loader.java:436)

16:43:59 [sEVERE]       at cpw.mods.fml.common.Loader.loadMods(Loader.java:606)

16:43:59 [sEVERE]       at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBuk

kitHandler.java:134)

16:43:59 [sEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe

rver.java:135)

16:43:59 [sEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer

ver.java:438)

16:43:59 [sEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour

ceFile:492)

16:43:59 [sEVERE] Caused by: cpw.mods.fml.common.LoaderException: java.lang.Unsu

pportedClassVersionError: net/minecraft/server/mod_NetherOres : Unsupported majo

r.minor version 51.0

16:43:59 [sEVERE]       at cpw.mods.fml.common.Loader.loadModClass(Loader.java:5

27)

16:43:59 [sEVERE]       at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.jav

a:562)

16:43:59 [sEVERE]       at cpw.mods.fml.common.Loader.load(Loader.java:419)

16:43:59 [sEVERE]       ... 5 more

16:43:59 [sEVERE] Caused by: java.lang.UnsupportedClassVersionError: net/minecra

ft/server/mod_NetherOres : Unsupported major.minor version 51.0

16:43:59 [sEVERE]       at java.lang.ClassLoader.defineClass1(Native Method)

16:43:59 [sEVERE]       at java.lang.ClassLoader.defineClass(Unknown Source)

16:43:59 [sEVERE]       at java.security.SecureClassLoader.defineClass(Unknown S

ource)

16:43:59 [sEVERE]       at java.net.URLClassLoader.defineClass(Unknown Source)

16:43:59 [sEVERE]       at java.net.URLClassLoader.access$000(Unknown Source)

16:43:59 [sEVERE]       at java.net.URLClassLoader$1.run(Unknown Source)

16:43:59 [sEVERE]       at java.security.AccessController.doPrivileged(Native Me

thod)

16:43:59 [sEVERE]       at java.net.URLClassLoader.findClass(Unknown Source)

16:43:59 [sEVERE]       at java.lang.ClassLoader.loadClass(Unknown Source)

16:43:59 [sEVERE]       at sun.misc.Launcher$AppClassLoader.loadClass(Unknown So

urce)

16:43:59 [sEVERE]       at java.lang.ClassLoader.loadClass(Unknown Source)

16:43:59 [sEVERE]       at java.lang.ClassLoader.loadClass(Unknown Source)

16:43:59 [sEVERE]       at java.lang.ClassLoader.loadClassInternal(Unknown Sourc

e)

16:43:59 [sEVERE]       at java.lang.Class.forName0(Native Method)

16:43:59 [sEVERE]       at java.lang.Class.forName(Unknown Source)

16:43:59 [sEVERE]       at cpw.mods.fml.common.Loader.loadModClass(Loader.java:4

94)

16:43:59 [sEVERE]       ... 7 more

16:43:59 [sEVERE] Unexpected exception

cpw.mods.fml.common.LoaderException: cpw.mods.fml.common.LoaderException: java.l

ang.UnsupportedClassVersionError: net/minecraft/server/mod_NetherOres : Unsuppor

ted major.minor version 51.0

        at cpw.mods.fml.common.Loader.load(Loader.java:436)

        at cpw.mods.fml.common.Loader.loadMods(Loader.java:606)

        at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:

134)

        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:135)

        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)

        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Caused by: cpw.mods.fml.common.LoaderException: java.lang.UnsupportedClassVersio

nError: net/minecraft/server/mod_NetherOres : Unsupported major.minor version 51

.0

        at cpw.mods.fml.common.Loader.loadModClass(Loader.java:527)

        at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:562)

        at cpw.mods.fml.common.Loader.load(Loader.java:419)

        ... 5 more

Caused by: java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_Neth

erOres : Unsupported major.minor version 51.0

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(Unknown Source)

        at java.security.SecureClassLoader.defineClass(Unknown Source)

        at java.net.URLClassLoader.defineClass(Unknown Source)

        at java.net.URLClassLoader.access$000(Unknown Source)

        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)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Unknown Source)

        at cpw.mods.fml.common.Loader.loadModClass(Loader.java:494)

        ... 7 more

>

1 answer to this question

Recommended Posts

  • 0
Posted

This error happens because the "Nether Ores" mod requires Java 7 but the server started with Java 6 I believe.

You can try several things. You can try removing the mod, uninstalling Java 6, or explicitly starting Java 7 in your batch file.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...