Tendonsie Posted July 4, 2012 Posted July 4, 2012 I'm trying to install Tekkit on a Linux Centos 6.x server. I've searched on the forum, site en wiki but never found an answer. On the wiki, you just see run and that's it. LoL ... Good Wiki. How to solve my problem? My Error after running: ./launch.sh 182 recipes 27 achievements 16:47:18 [iNFO] Starting minecraft server version 1.2.5 16:47:18 [iNFO] Forge Mod Loader version @MAJOR@.@MINOR@.@REV@.@BUILD@ for Minecraft @MCVERSION@ loading 16:47:18 [iNFO] Loading mods from /root/minecraft/server6/mods 16:47:18 [sEVERE] java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_NetherOres : Unsupported major.minor version 51.0 16:47:18 [sEVERE] at java.lang.ClassLoader.defineClass1(Native Method) 16:47:18 [sEVERE] at java.lang.ClassLoader.defineClass(ClassLoader.java:634) 16:47:18 [sEVERE] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) 16:47:18 [sEVERE] at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) 16:47:18 [sEVERE] at java.net.URLClassLoader.access$000(URLClassLoader.java:73) 16:47:18 [sEVERE] at java.net.URLClassLoader$1.run(URLClassLoader.java:212) 16:47:18 [sEVERE] at java.security.AccessController.doPrivileged(Native Method) 16:47:18 [sEVERE] at java.net.URLClassLoader.findClass(URLClassLoader.java:205) 16:47:18 [sEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:321) 16:47:18 [sEVERE] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) 16:47:18 [sEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:314) 16:47:18 [sEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:266) 16:47:18 [sEVERE] at java.lang.Class.forName0(Native Method) 16:47:18 [sEVERE] at java.lang.Class.forName(Class.java:264) 16:47:18 [sEVERE] at cpw.mods.fml.common.Loader.loadModClass(Loader.java:440) 16:47:18 [sEVERE] at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:497) 16:47:18 [sEVERE] at cpw.mods.fml.common.Loader.load(Loader.java:375) 16:47:18 [sEVERE] at cpw.mods.fml.common.Loader.loadMods(Loader.java:527) 16:47:18 [sEVERE] at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:113) 16:47:18 [sEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:118) 16:47:18 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426) 16:47:18 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 16:47:18 [sEVERE] Unexpected exception 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:440) at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:497) at cpw.mods.fml.common.Loader.load(Loader.java:375) at cpw.mods.fml.common.Loader.loadMods(Loader.java:527) at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:113) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 16:47:21 [iNFO] Stopping server 16:47:21 [sEVERE] Exception in thread "Thread-3" 16:47:21 [sEVERE] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
Tendonsie Posted July 4, 2012 Author Posted July 4, 2012 Yep also done that. Don't change anything. Same problems.
Tendonsie Posted July 5, 2012 Author Posted July 5, 2012 java version "1.7.0_04" Java SE Runtime Environment (build 1.7.0_04-b20) Java HotSpot 64-Bit Server VM (build 23.0-b21, mixed mode)
aldrigviking Posted July 5, 2012 Posted July 5, 2012 shouldn't be a problem, but try updating to the latest (1.7.0.5) but if you delete the netherores.jar (in mods folder), you should be good to go, but I guess you want to run with nether ores enabled. Try and disable it anyway and check for errors. Please post any errors you stumble upon after doing that.
Tendonsie Posted July 5, 2012 Author Posted July 5, 2012 I have already deleted one mod, I can't delete all the mods haha It strange so many Windows guides for 10 year old people, but "Linux CeNTOS" guide on Google, 0 matches xD
aldrigviking Posted July 5, 2012 Posted July 5, 2012 actually, there are several guides for bukkit on CentOS 5/6 -> just google "bukkit server centos" also, it's probably because people who tend to use centos, know what they're doing ;P just rename your netherores.jar to netherores.jar.disabled and see if it works. You just have to disable mods one at a time and find the cause - method of elimination :)
Tendonsie Posted July 6, 2012 Author Posted July 6, 2012 actually, there are several guides for bukkit on CentOS 5/6 -> just google "bukkit server centos" also, it's probably because people who tend to use centos, know what they're doing ;P just rename your netherores.jar to netherores.jar.disabled and see if it works. You just have to disable mods one at a time and find the cause - method of elimination Bukkit no no no this is Tekkit. To Answer -> Bukkit server on that server works -> Tekkt server doesn't work, see errors above. So there need to be something else. Tested on the java 6 machine and on the 1.7.0_04. I will try another the the 1.7.0_05 like you say.
aldrigviking Posted July 7, 2012 Posted July 7, 2012 bukkit, tekkit, potato, tomato.. Tekkit is essentially just bukkit with mods. Check this post out.. I really have no idea why it doesn't work for you. I have tekkit running on a CentOS 6 dedicated server, and it works fine. Even running Java JDK 1.7.0.4. My current guess is that you are using an incompatible java version. Are you using openjdk or sun java?
Tendonsie Posted July 7, 2012 Author Posted July 7, 2012 http://www.oracle.com/technetwork/java/javase/downloads/jre-7u4-download-1591157.html That I use.. is linked on the main page of Tekkit...
aldrigviking Posted July 8, 2012 Posted July 8, 2012 okay, well it should work. Could it be that you have a previous version isntalled (Java 6) and haven't removed it? Can you please post the code in the start script? (launch.sh)
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