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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...