Jump to content
  • 0

NetherOres crashing on server start


Question

Posted

Title: NetherOres crashing on server start

Version: 3.1.1

OS: Windows 7 Professional

Java Version: 1.6.0_31

Description of Problem:

The server can't load mod_NetherOres.jar, since it apparently doesn't contain any mods/that "unsupported major.minor version 51.0" bullshit keeps it from recognizing the mod.

However, using the "Generate Nether Ores" port found here

http://www.minecraftforum.net/topic/1210034-125sspsmpbukkit-generate-nether-ores-122-bugfixed-again/

works just fine after changing the block ID from 150 to 135.

Error Messages:

See Error Log.

Error Log:


2012-08-02 13:56:13 [FINE] Found a mod class net.minecraft.server.mod_NetherOres in file mod_NetherOres.jar, attempting to load it

2012-08-02 13:56:13 [WARNING] Failed to load mod class net/minecraft/server/mod_NetherOres.class in D:ProgrammeMinecraftTekkitmodsmod_NetherOres.jar

2012-08-02 13:56:13 [FINER] THROW

java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_NetherOres : Unsupported major.minor version 51.0

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

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

	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.Class.forName0(Native Method)

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

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

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

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

	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)

2012-08-02 13:56:13 [sEVERE] Zip file mod_NetherOres.jar failed to read properly

2012-08-02 13:56:13 [FINER] THROW

cpw.mods.fml.common.LoaderException: java.lang.UnsupportedClassVersionError: 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)

	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: java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_NetherOres : Unsupported major.minor version 51.0

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

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

	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.Class.forName0(Native Method)

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

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

	... 7 more

2012-08-02 13:56:13 [iNFO] File mod_NetherOres.jar contained no mods

4 answers to this question

Recommended Posts

  • 0
Posted

This is the result of a corrupt file.

2012-08-02 13:56:13 [sEVERE] Zip file mod_NetherOres.jar failed to read properly


Windows Solution:Redownload the same Tekkit server version you are currently running from the Technic website. Unpack and replace any files that "failed to read properly."

 

In my situation this error appears to be a result of using WinSCP to transfer unpacked files to the Ubuntu Server. This may apply to others running an Ubuntu or other Linux server. See linked thread for more information http://forums.technicpack.net/threads/3-1-server-item-conflicts.16153/page-2#post-125740

 

Linux Solution: copy a compressed version of the Tekkit server you want to run (ex. Tekkit_Server_3.1.1.zip) to your Ubuntu (or other Linux based) server and unpack it directly on the server using a local or remote terminal session.

 

Recommendations: Use Putty on Windows for a remote terminal session. http://www.chiark.greenend.org.uk/~sgtatham/putty/

install p7zip on the server
sudo apt-get install p7zip


 

use p7zip to extract the Tekkit server
p7zip -d Tekkit_Server_3.1.1.zip


Note to Windows users: Just in case you aren't aware, Linux and Ubuntu are case sensitive. Type commands above exactly as they appear, or type the file name exactly as it appears in the directory if using a different file.
ls

If you want to transfer an existing server from Windows to Ubuntu:

Install 7zip on Windows and use it to repack your existing server. http://www.7-zip.org/download.html

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...