PSG Phoenix Posted May 4, 2012 Posted May 4, 2012 Hello, I set up a Tekkit server at my friends the other day. When I got home I thought I would start a new server to host because of my better PC. When i try to start the "launch" batch file I am presented with this..... C:\Users\Leon\Desktop\Minecraft tekkit server>Java Xmx3G -Xms2G -jar Tekkit.jar nogui Exception in thread "main" java.lang.NoClassDefFoundError: Xmx1G Caused by: java.lang.ClassNotFoundException: Xmx1G 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) Could not find the main class: Xmx1G. Program will exit. C:\Users\Leon\Desktop\Minecraft tekkit server>pause Press any key to continue . . . I have no Idea what this means and I would be grateful if someone with the knowledge to resolve this could reply to this post. Thank you for reading PSG Phoenix Quote
tekenden Posted May 4, 2012 Posted May 4, 2012 Re: Sever start up have you tried looking here yet? http://forums.technicpack.net/index.php/topic,2805.0.html Quote
PSG Phoenix Posted May 4, 2012 Author Posted May 4, 2012 Re: Sever start up Hello thanks for the reply, yes I use that thread because i had that same error before this one. After I did what the thread showed this new error appeared. Still have no idea what to do. HELP! Quote
HalibutBarn Posted May 4, 2012 Posted May 4, 2012 Re: Sever start up You're missing a dash in front of the Xmx3G parameter. Quote
PSG Phoenix Posted May 4, 2012 Author Posted May 4, 2012 Thank you I think that did the trick, thanks alot:) 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.