Jump to content

Recommended Posts

Posted

I'm trying to get tekkit running on a CentOS server but having issues. It runs fine on windows but I just get a list of faults for windows. I've tried two different services which run vanilla and bukkit just fine. The error(s) I get are ...

[root@vps1 tekkit]# ./launch.sh

182 recipes

27 achievements

[ERROR] Failed to construct terminal; falling back to unsupportedjava.io.IOException: Cannot run program "sh": java.io.IOException:

error=12, Cannot allocate memory

at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)

at java.lang.Runtime.exec(Runtime.java:610)

at java.lang.Runtime.exec(Runtime.java:483)

at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:188)

at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:178)

at jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:173)

at jline.internal.TerminalLineSettings.get(TerminalLineSettings.java:69)

at jline.internal.TerminalLineSettings.<init>(TerminalLineSettings.java:49)

at jline.UnixTerminal.<init>(UnixTerminal.java:30)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:532)

at java.lang.Class.newInstance0(Class.java:372)

at java.lang.Class.newInstance(Class.java:325)

at jline.TerminalFactory.getFlavor(TerminalFactory.java:160)

at jline.TerminalFactory.create(TerminalFactory.java:73)

at jline.TerminalFactory.get(TerminalFactory.java:151)

at jline.console.ConsoleReader.<init>(ConsoleReader.java:140)

at jline.console.ConsoleReader.<init>(ConsoleReader.java:126)

at net.minecraft.server.MinecraftServer.<init>(MinecraftServer.java:101)

at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:637)

at org.bukkit.craftbukkit.Main.main(Main.java:136)

Caused by: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory

at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)

at java.lang.ProcessImpl.start(ProcessImpl.java:81)

at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)

... 22 more

09:11:38 [iNFO] Starting minecraft server version 1.2.5

09:11:39 [iNFO] Attempting early MinecraftForge initialization

09:11:39 [iNFO] Completed early MinecraftForge initialization

09:11:39 [iNFO] Forge Mod Loader version 2.2.91.173 for Minecraft 1.2.5 loading

09:11:39 [iNFO] Loading mods from /tekkit/mods

09:11:40 [WARNING] Failed to load mod class net/minecraft/server/mod_NetherOres.class in /tekkit/mods/mod_NetherOres.jar

09:11:40 [sEVERE] Zip file mod_NetherOres.jar failed to read properly

09:11:40 [iNFO] File mod_NetherOres.jar contained no mods

09:11:40 [iNFO] Directory weaponmod contained no mods

09:11:40 [sEVERE] A problem has occured during mod loading. Likely a corrupt jar is located in your mods directory

09:11:40 [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

09:11:40 [sEVERE] at cpw.mods.fml.common.Loader.load(Loader.java:436)

09:11:40 [sEVERE] at cpw.mods.fml.common.Loader.loadMods(Loader.java:606)

09:11:40 [sEVERE] at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:134)

09:11:40 [sEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:135)

09:11:40 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)

09:11:40 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

09:11:40 [sEVERE] Caused by: cpw.mods.fml.common.LoaderException: java.lang.UnsupportedClassVersionError:

net/minecraft/server/mod_NetherOres : Unsupported major.minor version 51.0

09:11:40 [sEVERE] at cpw.mods.fml.common.Loader.loadModClass(Loader.java:527)

09:11:40 [sEVERE] at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:562)

09:11:40 [sEVERE] at cpw.mods.fml.common.Loader.load(Loader.java:419)

09:11:40 [sEVERE] ... 5 more

09:11:40 [sEVERE] Caused by: java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_NetherOres : Unsupported major.minor

version 51.0

09:11:40 [sEVERE] at java.lang.ClassLoader.defineClass1(Native Method)

09:11:40 [sEVERE] at java.lang.ClassLoader.defineClass(ClassLoader.java:634)

09:11:40 [sEVERE] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

09:11:40 [sEVERE] at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)

09:11:40 [sEVERE] at java.net.URLClassLoader.access$000(URLClassLoader.java:73)

09:11:40 [sEVERE] at java.net.URLClassLoader$1.run(URLClassLoader.java:212)

09:11:40 [sEVERE] at java.security.AccessController.doPrivileged(Native Method)

09:11:40 [sEVERE] at java.net.URLClassLoader.findClass(URLClassLoader.java:205)

09:11:40 [sEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:321)

09:11:40 [sEVERE] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)

09:11:40 [sEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:314)

09:11:40 [sEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:266)

09:11:40 [sEVERE] at java.lang.Class.forName0(Native Method)

09:11:40 [sEVERE] at java.lang.Class.forName(Class.java:264)

09:11:40 [sEVERE] at cpw.mods.fml.common.Loader.loadModClass(Loader.java:494)

09:11:40 [sEVERE] ... 7 more

09:11:40 [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

>

Please help. I've done an update on java to try resolving the issue as well.

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