VMAN4567 Posted July 7, 2012 Posted July 7, 2012 I'm trying to set up a server and I'm having an issue. I've set up a normal Minecraft server so all connection issues are fine. I just can't seem launch a Tekkit server. I've followed the tutorial on this page exactly: http://forums.technicpack.net/threads/how-to-set-up-a-tekkit-server-step-by-step-guide-win-7-images.2299/ However, whenever, I try to launch it, I still get what I assume to be a Java error: C:\Users\Vishal\Downloads\Tekkit_Server_3.0.4>java -Xmx3G -Xms2G -jar Tekkit.jar nogui 182 recipes 27 achievements 22:43:16 [iNFO] Starting minecraft server version 1.2.5 22:43:17 [iNFO] Forge Mod Loader version @MAJOR@.@MINOR@.@REV@.@BUILD@ for Minec raft @MCVERSION@ loading 22:43:17 [iNFO] Loading mods from C:\Users\Vishal\Downloads\Tekkit_Server_3.0.4\ mods 22:43:17 [sEVERE] java.lang.UnsupportedClassVersionError: net/minecraft/server/m od_NetherOres : Unsupported major.minor version 51.0 22:43:17 [sEVERE] at java.lang.ClassLoader.defineClass1(Native Method) 22:43:17 [sEVERE] at java.lang.ClassLoader.defineClassCond(Unknown Source) 22:43:17 [sEVERE] at java.lang.ClassLoader.defineClass(Unknown Source) 22:43:17 [sEVERE] at java.security.SecureClassLoader.defineClass(Unknown S ource) 22:43:17 [sEVERE] at java.net.URLClassLoader.defineClass(Unknown Source) 22:43:17 [sEVERE] at java.net.URLClassLoader.access$000(Unknown Source) 22:43:17 [sEVERE] at java.net.URLClassLoader$1.run(Unknown Source) 22:43:17 [sEVERE] at java.security.AccessController.doPrivileged(Native Me thod) 22:43:17 [sEVERE] at java.net.URLClassLoader.findClass(Unknown Source) 22:43:17 [sEVERE] at java.lang.ClassLoader.loadClass(Unknown Source) 22:43:17 [sEVERE] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown So urce) 22:43:17 [sEVERE] at java.lang.ClassLoader.loadClass(Unknown Source) 22:43:17 [sEVERE] at java.lang.ClassLoader.loadClass(Unknown Source) 22:43:17 [sEVERE] at java.lang.Class.forName0(Native Method) 22:43:17 [sEVERE] at java.lang.Class.forName(Unknown Source) 22:43:17 [sEVERE] at cpw.mods.fml.common.Loader.loadModClass(Loader.java:4 40) 22:43:17 [sEVERE] at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.jav a:497) 22:43:17 [sEVERE] at cpw.mods.fml.common.Loader.load(Loader.java:375) 22:43:17 [sEVERE] at cpw.mods.fml.common.Loader.loadMods(Loader.java:527) 22:43:17 [sEVERE] at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBuk kitHandler.java:113) 22:43:17 [sEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe rver.java:118) 22:43:17 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer ver.java:426) 22:43:17 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour ceFile:492) 22:43:17 [sEVERE] Unexpected exception java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_NetherOres : Un supported 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: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) If anyone could recognize what is going on and help solve the problem, It would be much appreciated. Quote
Mufasah87 Posted July 7, 2012 Posted July 7, 2012 I Re-installed and updated my Java and I am still having the same problem. Any suggestions? Quote
electronerd Posted July 7, 2012 Posted July 7, 2012 what does "java -version" (without quotes) return? Quote
Mufasah87 Posted July 7, 2012 Posted July 7, 2012 what does "java -version" (without quotes) return? After putting it into the cmd prompt or by googling it? Quote
Mufasah87 Posted July 7, 2012 Posted July 7, 2012 command prompt >java-version 01:50:03 [iNFO] Stopping server 01:50:03 [sEVERE] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 01:50:03 [sEVERE] at java.util.ArrayList.RangeCheck(Unknown Source) 01:50:03 [sEVERE] at java.util.ArrayList.get(Unknown Source) 01:50:03 [sEVERE] at net.minecraft.server.MinecraftServer.stop(MinecraftSe rver.java:412) 01:50:03 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer ver.java:483) 01:50:03 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour ceFile:492) 01:50:03 [iNFO] Stopping server > Quote
electronerd Posted July 7, 2012 Posted July 7, 2012 I meant at the system command prompt, not the server command prompt. Also, there's a space between the word java and the dash. My next advice is likely to be the same anyway: You probably actually have multiple Java versions installed. Uninstall *all* versions of Java on your computer, then install the latest version, which is version 7 update 5 or 1.7 update 5 (same thing) Quote
Mufasah87 Posted July 7, 2012 Posted July 7, 2012 C:\Users\Mufasa>java -version java version "1.6.0_16" Java SE Runtime Environment (build 1.6.0_16-b01) Java HotSpot 64-Bit Server VM (build 14.2-b01, mixed mode) How do I know if i have uninstalled every version? Quote
electronerd Posted July 7, 2012 Posted July 7, 2012 Glad it worked for you For future readers who stumble across this post: How do I know if i have uninstalled every version? Just keep uninstalling versions of Java until there aren't any versions left in the Programs and Features window to uninstall Quote
VMAN4567 Posted July 8, 2012 Author Posted July 8, 2012 Alright, so I followed what you said and it worked like a charm. The server set up perfectly but now, The technic launcher isn't working because my java is the wrong version. Should I uninstall the java version I just installed and try to install a slightly older version or should I do something else? Quote
electronerd Posted July 8, 2012 Posted July 8, 2012 Download and install the 64-bit version from http://java.com/en/download/manual.jsp Leave the 32-bit version installed. Quote
VMAN4567 Posted July 8, 2012 Author Posted July 8, 2012 Alright! Finally got it to work. Thank you so much. If it weren't for you, I would probably still be tearing my hair out trying to figure it out. I hope this thread will help anyone else who has this problem. Quote
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.