PSG Phoenix Posted May 4, 2012 Share 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 Link to comment Share on other sites More sharing options...
tekenden Posted May 4, 2012 Share Posted May 4, 2012 Re: Sever start up have you tried looking here yet? http://forums.technicpack.net/index.php/topic,2805.0.html Link to comment Share on other sites More sharing options...
PSG Phoenix Posted May 4, 2012 Author Share 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! Link to comment Share on other sites More sharing options...
HalibutBarn Posted May 4, 2012 Share Posted May 4, 2012 Re: Sever start up You're missing a dash in front of the Xmx3G parameter. Link to comment Share on other sites More sharing options...
PSG Phoenix Posted May 4, 2012 Author Share Posted May 4, 2012 Thank you I think that did the trick, thanks alot:) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now