Jump to content
  • 0

Can't load modclass/corrupt jarfile/wrong java version


Question

Posted

Title: Can't load modclass/corrupt jarfile/wrong java version

Version: 3.1.2

OS: Ubuntu Precise Pangolin 12.04

Java Version: 7, 64-bit

Description of Problem:

I have only 64-bit java, this worked earlier too, when I run this code in a BASH script for Ubuntu:

#!/bin/bash

java -Xmx1G -Xms1G -jar Tekkit.jar nogui

read -p "Press [Enter] key to continue..."

I get the error log. Any suggestions? Reinstall java, get proper unzipper?

Error Messages:

See error log.

Error Log:


182 recipes

27 achievements

22:36:25 [iNFO] Starting minecraft server version 1.2.5

22:36:25 [iNFO] Attempting early MinecraftForge initialization

22:36:25 [iNFO] Completed early MinecraftForge initialization

22:36:25 [iNFO] Forge Mod Loader version 2.2.91.173 for Minecraft 1.2.5 loading

22:36:25 [iNFO] Loading mods from /home/henryfbp/Desktop/HenryLand Tekkit Peaceful Dedicated 25565/mods

22:36:26 [WARNING] Failed to load mod class net/minecraft/server/mod_NetherOres.class in /home/henryfbp/Desktop/HenryLand Tekkit Peaceful Dedicated 25565/mods/mod_NetherOres.jar

22:36:26 [sEVERE] Zip file mod_NetherOres.jar failed to read properly

22:36:26 [iNFO] File mod_NetherOres.jar contained no mods

22:36:26 [iNFO] Directory weaponmod contained no mods

22:36:26 [sEVERE] A problem has occured during mod loading. Likely a corrupt jar is located in your mods directory

22:36:26 [sEVERE] cpw.mods.fml.common.LoaderException: cpw.mods.fml.common.LoaderException: java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_NetherOres : Unsupported major.minor version 51.0

22:36:26 [sEVERE] at cpw.mods.fml.common.Loader.load(Loader.java:436)

22:36:26 [sEVERE] at cpw.mods.fml.common.Loader.loadMods(Loader.java:606)

22:36:26 [sEVERE] at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:134)

22:36:26 [sEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:135)

22:36:26 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)

22:36:26 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

22:36:26 [sEVERE] Caused by: cpw.mods.fml.common.LoaderException: java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_NetherOres : Unsupported major.minor version 51.0

22:36:26 [sEVERE] at cpw.mods.fml.common.Loader.loadModClass(Loader.java:527)

22:36:26 [sEVERE] at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:562)

22:36:26 [sEVERE] at cpw.mods.fml.common.Loader.load(Loader.java:419)

22:36:26 [sEVERE] ... 5 more

22:36:26 [sEVERE] Caused by: java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_NetherOres : Unsupported major.minor version 51.0

22:36:26 [sEVERE] at java.lang.ClassLoader.defineClass1(Native Method)

22:36:26 [sEVERE] at java.lang.ClassLoader.defineClass(ClassLoader.java:634)

22:36:26 [sEVERE] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

22:36:26 [sEVERE] at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)

22:36:26 [sEVERE] at java.net.URLClassLoader.access$000(URLClassLoader.java:73)

22:36:26 [sEVERE] at java.net.URLClassLoader$1.run(URLClassLoader.java:212)

22:36:26 [sEVERE] at java.security.AccessController.doPrivileged(Native Method)

22:36:26 [sEVERE] at java.net.URLClassLoader.findClass(URLClassLoader.java:205)

22:36:26 [sEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:321)

22:36:26 [sEVERE] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)

22:36:26 [sEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:314)

22:36:26 [sEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:266)

22:36:26 [sEVERE] at java.lang.Class.forName0(Native Method)

22:36:26 [sEVERE] at java.lang.Class.forName(Class.java:264)

22:36:26 [sEVERE] at cpw.mods.fml.common.Loader.loadModClass(Loader.java:494)

22:36:26 [sEVERE] ... 7 more

22:36:26 [sEVERE] Unexpected exception

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

... 5 more

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.defineClass(ClassLoader.java:634)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)

at java.net.URLClassLoader.access$000(URLClassLoader.java:73)

at java.net.URLClassLoader$1.run(URLClassLoader.java:212)

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:314)

at java.lang.ClassLoader.loadClass(ClassLoader.java:266)

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

at java.lang.Class.forName(Class.java:264)

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

... 7 more

>

2 answers to this question

Recommended Posts

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