Jump to content

Batch file need HELP NOW!

Recommended Posts

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


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

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