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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...