Jump to content

Recommended Posts

Posted

Please Help With Setting Up My Server When I Run It I Get This:

C:\Users\*\Desktop\mcserver> java -Xmx10M -Xms10M -jar Tekkit.Jar nogui

java is not reconized as an internal or external command

C:\Users\*\Desktop\mcserver>

Press Any Key To Continue...

Please Help!

Posted

You set the server to run off of 10MB of RAM, that is less than it takes to open notepad.

edit your launch file,

If you have 2GB of RAM, set it as this:

java -Xmx1024M -Xms512M -jar Tekkit.jar nogui

pause

If you have 4GB of RAM, set it as this:

java -Xmx3G -Xms2G -jar Tekkit.jar nogui

pause

if you have 8GB of ram, and wish to have 60 or more player spots, set it as this:

java -Xmx6G -Xms4G -jar Tekkit.jar nogui

pause

After applying any of those, it should work.

Hope that helps.

Posted

Java is not on your path. when you are telling windows to use java to open the java archive file Tekkit.jar, it has no idea where "java" is. You have to tell windows where java lives. Oracle has instructions on how to do this in windows on their website.

http://www.java.com/en/download/help/path.xml

Setting Path on Windows

Windows 7

  1. Select Computer from the Start menu
  2. Choose System Properties from the context menu
  3. Click Advanced system settings > Advanced tab
  4. Click on Environment Variables, under System Variables, find PATH, and click on it.
  5. In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and the location of the class as the value.
  6. Reopen Command prompt window, and run your java code.

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