Jump to content
  • 0

Question

Posted

Title: Cannot Connect to Server Error

Version: 3.1.1

OS: Mac OS 10.6.8

Java Version: java version "1.6.0_33"

Description of Problem:

Cannot connect to Tekkit server, even "Direct Connection" fails.

Minecraft server runs fine, port forwarding works no issues, just Tekkit server has this issue.

Error Messages:

Failed to connect to server

Connection refused

Error Log:


You have mail.

export JAVA_HOME=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/

cd ~/TekkitServer

java -Xincgc -Xmx2G -jar Tekkit.jar

[iMac24-6:~] srutter% export JAVA_HOME=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/

export: Command not found.

[iMac24-6:~] srutter% cd ~/TekkitServer

[iMac24-6:~/TekkitServer] srutter% java -Xincgc -Xmx2G -jar Tekkit.jar

182 recipes

27 achievements

23:01:19 [iNFO] Starting minecraft server version 1.2.5

23:01:19 [iNFO] Attempting early MinecraftForge initialization

23:01:19 [iNFO] Completed early MinecraftForge initialization

23:01:19 [iNFO] Forge Mod Loader version 2.2.91.162 for Minecraft 1.2.5 loading

23:01:19 [iNFO] Loading mods from /Users/srutter/TekkitServer/mods

23:01:20 [WARNING] Failed to load mod class net/minecraft/server/mod_NetherOres.class in /Users/srutter/TekkitServer/mods/mod_NetherOres.jar

23:01:20 [sEVERE] Zip file mod_NetherOres.jar failed to read properly

23:01:20 [iNFO] File mod_NetherOres.jar contained no mods

23:01:20 [iNFO] Directory weaponmod contained no mods

23:01:20 [sEVERE] A problem has occured during mod loading. Likely a corrupt jar is located in your mods directory

23:01:20 [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

23:01:20 [sEVERE] 	at cpw.mods.fml.common.Loader.load(Loader.java:436)

23:01:20 [sEVERE] 	at cpw.mods.fml.common.Loader.loadMods(Loader.java:606)

23:01:20 [sEVERE] 	at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:134)

23:01:20 [sEVERE] 	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:135)

23:01:20 [sEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)

23:01:20 [sEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

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

23:01:20 [sEVERE] 	at cpw.mods.fml.common.Loader.loadModClass(Loader.java:527)

23:01:20 [sEVERE] 	at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:562)

23:01:20 [sEVERE] 	at cpw.mods.fml.common.Loader.load(Loader.java:419)

23:01:20 [sEVERE] 	... 5 more

23:01:20 [sEVERE] Caused by: java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_NetherOres : Unsupported major.minor version 51.0

23:01:20 [sEVERE] 	at java.lang.ClassLoader.defineClass1(Native Method)

23:01:20 [sEVERE] 	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)

23:01:20 [sEVERE] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)

23:01:20 [sEVERE] 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

23:01:20 [sEVERE] 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

23:01:20 [sEVERE] 	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

23:01:20 [sEVERE] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

23:01:20 [sEVERE] 	at java.security.AccessController.doPrivileged(Native Method)

23:01:20 [sEVERE] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

23:01:20 [sEVERE] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

23:01:20 [sEVERE] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

23:01:20 [sEVERE] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:295)

23:01:20 [sEVERE] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

23:01:20 [sEVERE] 	at java.lang.Class.forName0(Native Method)

23:01:20 [sEVERE] 	at java.lang.Class.forName(Class.java:247)

23:01:20 [sEVERE] 	at cpw.mods.fml.common.Loader.loadModClass(Loader.java:494)

23:01:20 [sEVERE] 	... 7 more

23:01:20 [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.defineClassCond(ClassLoader.java:631)

	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)

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

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

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

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

	at java.security.AccessController.doPrivileged(Native Method)

	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

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

	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

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

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

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

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

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

	... 7 more

>

9 answers to this question

Recommended Posts

  • 0
Posted

As I cannot load Java 7, I deleted the advanced computer .zip from the mods folder and the server is loading correctly now. However I still cannot connect either locally or via the internet. I am not getting a end of stream error.

  • 0
Posted

As I cannot load Java 7, I deleted the advanced computer .zip from the mods folder and the server is loading correctly now. However I still cannot connect either locally or via the internet. I am not getting a end of stream error.

23:01:20 [WARNING] Failed to load mod class net/minecraft/server/mod_NetherOres.class

^shows that the mod in questions is netherores, dont know why advanced computer mod would fix anything

and as for your problem with java

System Requirements

  • Any Intel-based Mac running Mac OS X 10.7.3 (Lion) or later.
  • Administrator privileges.

OS: Mac OS 10.6.8

^from your OP

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