koo_04 Posted July 29, 2012 Posted July 29, 2012 I am trying to get tekkit to run on my Ubuntu Server 12.04 machine. I am able to get it to run on my Windows laptop no problem, but when I go to run on my Linux server, this error happens... 2012-07-29 08:04:46 [iNFO] Directory weaponmod contained no mods 2012-07-29 08:04:46 [sEVERE] A problem has occured during mod loading. Likely a corrupt jar is located in your mods directory 2012-07-29 08:04:46 [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 2012-07-29 08:04:46 [sEVERE] at cpw.mods.fml.common.Loader.load(Loader.java:436) 2012-07-29 08:04:46 [sEVERE] at cpw.mods.fml.common.Loader.loadMods(Loader.java:606) 2012-07-29 08:04:46 [sEVERE] at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:134) 2012-07-29 08:04:46 [sEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:135) 2012-07-29 08:04:46 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) 2012-07-29 08:04:46 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 2012-07-29 08:04:46 [sEVERE] Caused by: cpw.mods.fml.common.LoaderException: java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_NetherOres : Unsupported major.minor version 51.0 2012-07-29 08:04:46 [sEVERE] at cpw.mods.fml.common.Loader.loadModClass(Loader.java:527) 2012-07-29 08:04:46 [sEVERE] at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:562) 2012-07-29 08:04:46 [sEVERE] at cpw.mods.fml.common.Loader.load(Loader.java:419) 2012-07-29 08:04:46 [sEVERE] ... 5 more 2012-07-29 08:04:46 [sEVERE] Caused by: java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_NetherOres : Unsupported major.minor version 51.0 2012-07-29 08:04:46 [sEVERE] at java.lang.ClassLoader.defineClass1(Native Method) 2012-07-29 08:04:46 [sEVERE] at java.lang.ClassLoader.defineClass(ClassLoader.java:634) 2012-07-29 08:04:46 [sEVERE] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) 2012-07-29 08:04:46 [sEVERE] at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) 2012-07-29 08:04:46 [sEVERE] at java.net.URLClassLoader.access$000(URLClassLoader.java:73) 2012-07-29 08:04:46 [sEVERE] at java.net.URLClassLoader$1.run(URLClassLoader.java:212) 2012-07-29 08:04:46 [sEVERE] at java.security.AccessController.doPrivileged(Native Method) 2012-07-29 08:04:46 [sEVERE] at java.net.URLClassLoader.findClass(URLClassLoader.java:205) 2012-07-29 08:04:46 [sEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:321) 2012-07-29 08:04:46 [sEVERE] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) 2012-07-29 08:04:46 [sEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:314) 2012-07-29 08:04:46 [sEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:266) 2012-07-29 08:04:46 [sEVERE] at java.lang.Class.forName0(Native Method) 2012-07-29 08:04:46 [sEVERE] at java.lang.Class.forName(Class.java:264) 2012-07-29 08:04:46 [sEVERE] at cpw.mods.fml.common.Loader.loadModClass(Loader.java:494) 2012-07-29 08:04:46 [sEVERE] ... 7 more 2012-07-29 08:04:46 [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 Anyone have a solution for this? I can't figure it out at all.
ronneke1996 Posted July 29, 2012 Posted July 29, 2012 http://forums.technicpack.net/index.php?threads/16269/ this will help maybe. Probably its your ftp client. Dont use winscp bute filezilla.
koo_04 Posted July 29, 2012 Author Posted July 29, 2012 I am not using FTP. I have read through that tutoral, which is well made, but I am having issues with FTp working on my linux. What is it that winSCP does that wont let it work? I have never had an issue in the past.
ronneke1996 Posted July 29, 2012 Posted July 29, 2012 Before 3.1.1 winscp worked fine but since 3.1.1 winscp messes with aome config files. Im going to read your log again.
ronneke1996 Posted July 29, 2012 Posted July 29, 2012 Also do you have java 7 installed. And search on the forum for major minor version 51 error. There is a whole thread about that error
koo_04 Posted July 29, 2012 Author Posted July 29, 2012 okay, so I got the FTP working, but it still has the same error.
koo_04 Posted July 29, 2012 Author Posted July 29, 2012 I have java 7, I normally run a bukkit server, so that all works fine. Can you send the link? I couldn't find anything helpful.
Diabloz Posted July 30, 2012 Posted July 30, 2012 When you use winSCP, set it to SCP delete the mods folder and reinstall the mods, via drag and drop, then go to your mods folder and delete the mod nether ores (for some reason its not letting you run it) start your server using a shell start command and it should work, also you might need to update the update repository on your linux machine if your not using the latest ubuntu.
ronneke1996 Posted July 30, 2012 Posted July 30, 2012 Here you have the link: Click Maybe this will help with running nether ores
littleweseth Posted July 30, 2012 Posted July 30, 2012 Given that it works on Windows (which does not have case-sensitive file names) and doesn't work on Linux (which does have case-sensitive file names), my first instinct is to suggest that the capitalisation/case of a filename has been mangled somewhere.
koo_04 Posted July 30, 2012 Author Posted July 30, 2012 @Diabloz What do you mean set it to SCP? I thought it was always SCP. @ronneke1996 Thanks a ton for that link, I am going to check it out now @littleweseth Everything is supposed to work out of the box, meaning caps don't matter.
koo_04 Posted July 30, 2012 Author Posted July 30, 2012 @Diabloz Nevermind. I found what you mean. It always defaults to SFTP.
Diabloz Posted July 30, 2012 Posted July 30, 2012 Then dont worry about setting it to SCP if its always scp... there's an option in when you create a session to change to ftp... and other protocols, like i said if you delete the mod and it works then i would go to ronnekes link next.
koo_04 Posted July 30, 2012 Author Posted July 30, 2012 Looks like it is because I am not using Java 7. I am currently using Java 6. I currently using this same server for Jenkins... So, I can't move it to JDK1.7. Now, I can't becuase the 1.7 folder doesnt seem to have anything but the javaw.jar. Anyone know a solution to this?
Diabloz Posted July 30, 2012 Posted July 30, 2012 umm reinstall java i would follow this guide: http://maketecheasier.com/install-java-runtime-in-ubuntu/2012/05/14, for you Ubuntu Server 12.04, you might need root access.. good luck :P
ronneke1996 Posted July 30, 2012 Posted July 30, 2012 umm reinstall java i would follow this guide: http://maketecheasier.com/install-java-runtime-in-ubuntu/2012/05/14, for you Ubuntu Server 12.04, you might need root access.. good luck That might be the solution. sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now