Jump to content
  • 0

[3.0.3/3.0.4] Launch.bat stopping


Question

Posted

Title: Launch.bat stopping

Version: 3.0.3/3.0.4

OS: Windows 7 Ultimate x64

Java Version: jre6 & jre7 tested

Description of Problem:

The launch.bat stops after ~73 lines.

Error Messages:

N/a

Error Log:


C:\Users\Karl\Desktop\Tekkit_Server_3.0.4>java -Xmx3G -Xms2G -jar Tekkit.jar nog

ui

182 recipes

27 achievements

13:29:22 [iNFO] Starting minecraft server version 1.2.5

13:29:22 [iNFO] Forge Mod Loader version @MAJOR@.@MINOR@.@REV@.@BUILD@ for Minec

raft @MCVERSION@ loading

13:29:22 [iNFO] Loading mods from C:\Users\Karl\Desktop\Tekkit_Server_3.0.4\mods



13:29:26 [sEVERE] java.lang.UnsupportedClassVersionError: net/minecraft/server/m

od_NetherOres : Unsupported major.minor version 51.0

13:29:26 [sEVERE]       at java.lang.ClassLoader.defineClass1(Native Method)

13:29:26 [sEVERE]       at java.lang.ClassLoader.defineClassCond(Unknown Source)



13:29:26 [sEVERE]       at java.lang.ClassLoader.defineClass(Unknown Source)

13:29:26 [sEVERE]       at java.security.SecureClassLoader.defineClass(Unknown S

ource)

13:29:26 [sEVERE]       at java.net.URLClassLoader.defineClass(Unknown Source)

13:29:26 [sEVERE]       at java.net.URLClassLoader.access$000(Unknown Source)

13:29:26 [sEVERE]       at java.net.URLClassLoader$1.run(Unknown Source)

13:29:26 [sEVERE]       at java.security.AccessController.doPrivileged(Native Me

thod)

13:29:26 [sEVERE]       at java.net.URLClassLoader.findClass(Unknown Source)

13:29:26 [sEVERE]       at java.lang.ClassLoader.loadClass(Unknown Source)

13:29:26 [sEVERE]       at sun.misc.Launcher$AppClassLoader.loadClass(Unknown So

urce)

13:29:26 [sEVERE]       at java.lang.ClassLoader.loadClass(Unknown Source)

13:29:26 [sEVERE]       at java.lang.ClassLoader.loadClass(Unknown Source)

13:29:26 [sEVERE]       at java.lang.Class.forName0(Native Method)

13:29:26 [sEVERE]       at java.lang.Class.forName(Unknown Source)

13:29:26 [sEVERE]       at cpw.mods.fml.common.Loader.loadModClass(Loader.java:4

40)

13:29:26 [sEVERE]       at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.jav

a:497)

13:29:26 [sEVERE]       at cpw.mods.fml.common.Loader.load(Loader.java:375)

13:29:26 [sEVERE]       at cpw.mods.fml.common.Loader.loadMods(Loader.java:527)

13:29:26 [sEVERE]       at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBuk

kitHandler.java:113)

13:29:26 [sEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe

rver.java:118)

13:29:26 [sEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer

ver.java:426)

13:29:26 [sEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour

ceFile:492)

13:29:26 [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)

>

12 answers to this question

Recommended Posts

  • 0
Posted

Install Java 7 and make sure Java 6 is completely uninstalled (java does not uninstall itself when you update to a newer version). Looks like the server is launching with Java 6 and you need to use Java 7.

  • 0
Posted

Now I have this:


C:\Users\Karl\Desktop\Tekkit_Server_3.0.4>java -Xmx3G -Xms2G -jar Tekkit.jar nog

ui

Error occurred during initialization of VM

Could not reserve enough space for object heap

Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.

 

C:\Users\Karl\Desktop\Tekkit_Server_3.0.4>pause

Press any key to continue . . .

Any ideas on how to fix it? Also thank you for the first response.

  • 0
Posted

Sorry what I should've asked is, are you using 64 bit Java or 32 bit Java? In your command line type "java -version". If you installed java through your browser it is likely the 32bit version and you can only allocate 1G of ram if that is the case. Manually download and install the 64 bit version if you don't have it already.

  • 0
Posted

My friend Zilch helped me fix it and I changed the launch.bat to


java -Xmx1G -Xms512M -jar Tekkit.jar nogui

pause



 Only thing now:



17:07:11 [iNFO] Initializing alchemy values for Equivalent Exchange (FTB special

 edition)..

17:07:11 [iNFO] Adding Material: 135:X135

17:07:11 [iNFO] NetherOres: loaded Macerator Recipes

17:07:11 [iNFO] Loading properties

17:07:11 [iNFO] Starting Minecraft server on *:25565

17:07:11 [WARNING] **** FAILED TO BIND TO PORT!

17:07:11 [WARNING] The exception was: java.net.BindException: Cannot assign requ

ested address: JVM_Bind

17:07:11 [WARNING] Perhaps a server is already running on that port?

>

  • 0
Posted

Make sure that port is opened and not being blocked by a firewall, also you can assign more then 1G of ram if you install Java 64 bit.

  • 0
Posted

There is no program using that port and I have it forwarded.

I also tried changing the port to 25566 and 25567 and still the same error, which is strange.

  • 0
Posted

I also tried changing the port to 25566 and 25567 and still the same error, which is strange.

Then it is most likely being blocked by a firewall. Make sure windows firewall, any software firewall program, and/or your router are not blocking the port and you forward it properly.

  • 0
Posted

How do I check if windows firewall is blocking ports, I can only add xceptions for programs also that are .exe's. How do I see ports? Also I have no problem running things like the regular minecraft server from minecraft.net, only this tekkit server.

Edit:

Just added port 25565 as a new rule to allow all connection in windows firewall.

Still same error.


17:29:55 [iNFO] Initializing alchemy values for Equivalent Exchange (FTB special

 edition)..

17:29:55 [iNFO] Adding Material: 135:X135

17:29:55 [iNFO] NetherOres: loaded Macerator Recipes

17:29:55 [iNFO] Loading properties

17:29:55 [iNFO] Starting Minecraft server on 192.168.0.100:25565

17:29:55 [WARNING] **** FAILED TO BIND TO PORT!

17:29:55 [WARNING] The exception was: java.net.BindException: Cannot assign requ

ested address: JVM_Bind

17:29:55 [WARNING] Perhaps a server is already running on that port?

>

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