Bukkit don't work

Discussion in 'Bukkit Help' started by tomajstr, Sep 29, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    tomajstr

    Hello, I would like to make a MC server , but when I run " run.bat " I will show this:[​IMG]
     
  2. tomajstr Looks like it's having trouble finding a class. Can't tell you any more than that, though, since the picture quality isn't good enough to see any more. Try posting you're latest.log file here :)
     
  3. tomajstr The image isnt good quality please re post a better one, thanks!
     
  4. Offline

    LHammonds

    I cannot tell much of anything from the low-res image you posted but I am guessing you are running that server from a folder on your desktop.

    If the path to that folder has spaces or special characters in the name, it will not work.

    Create a folder on the root of C: such as C:\Craftbukkit\ and place the file there.

    Example:

    C:\Craftbukkit\craftbukkit.jar

    Then use this batch file to start it:

    C:\Craftbukkit\start-server.bat
    Code:
    CD /D C:\Craftbukkit
    "%ProgramFiles%\Java\jre7\bin\java.exe" -XX:MaxPermSize=128M -Xmx1024M -Xms1024M -jar craftbukkit.jar nogui
    
     
  5. Offline

    tomajstr

    Im sorry, this picture i realy bad. There is with beter quality: error.JPG
     
  6. Offline

    tomajstr

    LHammonds, it does not work, it does the same thing
     
  7. Offline

    LHammonds

    Copy/paste the "latest.log" or "server.log" here and surround it in CODE tags.
    Code:
    like this
    
    Also, post the contents of your batch file you use to start your server and wrap it in CODE tags too.

    EDIT: I noticed you might be trying to run Craftbukkit 1.4.7. Its a bit old so I thought I would test it to make sure it works ok on Windows 7 and the latest Java 1.7. It worked just fine for me (I used the C:\Craftbukkit folder)

    Code:
    2014-10-01 10:44:30 [INFO] Starting minecraft server version 1.4.7
    2014-10-01 10:44:30 [INFO] Loading properties
    2014-10-01 10:44:30 [INFO] Default game type: SURVIVAL
    2014-10-01 10:44:30 [INFO] Generating keypair
    2014-10-01 10:44:30 [INFO] Starting Minecraft server on *:25565
    2014-10-01 10:44:30 [INFO] This server is running CraftBukkit version git-Bukkit-1.4.7-R1.0-b2624jnks (MC: 1.4.7) (Implementing API version 1.4.7-R1.0)
    2014-10-01 10:44:30 [INFO] Preparing level "world"
    2014-10-01 10:44:31 [INFO] Preparing start region for level 0 (Seed: 4568563867324032735)
    2014-10-01 10:44:31 [WARNING] Could not get information about this CraftBukkit version; perhaps you are running a custom one?: IOException
    2014-10-01 10:44:31 [WARNING] Could not get latest artifact information: IOException
    2014-10-01 10:44:31 [INFO] Preparing start region for level 1 (Seed: 4568563867324032735)
    2014-10-01 10:44:31 [INFO] Preparing start region for level 2 (Seed: 4568563867324032735)
    2014-10-01 10:44:32 [INFO] Preparing spawn area: 61%
    2014-10-01 10:44:32 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2014-10-01 10:44:32 [INFO] Done (1.161s)! For help, type "help" or "?"
    2014-10-01 10:44:34 [INFO] CONSOLE: Stopping the server..
    2014-10-01 10:44:34 [INFO] Stopping server
    2014-10-01 10:44:34 [INFO] Saving players
    2014-10-01 10:44:34 [WARNING] DSCT: socket closed
    2014-10-01 10:44:34 [INFO] Saving worlds
    2014-10-01 10:44:34 [INFO] Closing listening thread
    2014-10-01 10:44:34 [INFO] Saving chunks for level 'world'/Overworld
    2014-10-01 10:44:34 [INFO] Saving chunks for level 'world_nether'/Nether
    2014-10-01 10:44:35 [INFO] Saving chunks for level 'world_the_end'/The End
    2014-10-01 10:44:35 [INFO] Stopping server
    
    LHammonds
     
  8. Offline

    tomajstr

    I do not have lastest.log, it did not create. in server-start file is:
    Code:
    CD /D C:\Craftbukkit
    "%ProgramFiles%\Java\jre7\bin\java.exe" -XX:MaxPermSize=128M -Xmx512M -Xms512M -jar craftbukkit.jar nogui
    PAUSE
    (i have 512Mb ram only)
     
  9. Offline

    LHammonds

    Wait, your computer only has 512MB of RAM total?

    You won't be able to run a Minecraft server then. Windows is probably taking up all of that RAM and even some SWAP space. Your PC is probably running very miserably if running Windows 7 on a machine with just 512MB.

    I was able to start the 1.4.7 server with 512MB but my machine has 12 GB of RAM and even then, the server.log file showed the following entry:
    Code:
    2014-10-01 10:52:52 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    
     
  10. Offline

    tomajstr

    I have win XP, What is the minimum ram? (this computer is combination several old computers)
     
  11. tomajstr 512MB is nothing! I recommend at least 2GB just for a server for a pc or even laptop you should have about 4GB ram.
     
  12. Offline

    tomajstr

    ok, I get more ram
     
  13. Offline

    LHammonds

    Right-click on the task bar and start Task Manager, then click the Performance tab. What values do you have in these fields?
    Physical Memory (K)
    Total: __________
    Available: _______

    I have a Windows XP machine running in a virtual box and I gave it 1024MB of RAM and it is using 238MB with nothing else running. That means I have about 786 MB free of RAM on my WinXP system. So I could start an MC server with 768MB of RAM in the startup parameter...which would not display that warning about increasing the amount of RAM to 1024.

    Now, if you only have 512MB of physical RAM and your WinXP took up 238MB just to boot up (mileage may vary) then you only have 274MB available to run a server...which simply is not enough to run it with just physical RAM.

    I have a 2048MB paging file which makes the memory graph look like it is using relatively small amount of RAM overall but 1/3 of that total is "actual" RAM so it can be deceiving if you do not look at "physical" RAM.

    You can modify the size (or just look at it) of your paging file (amount of disk space to be used as virtual RAM) following these steps:
    1. Click Start, Control Panel, System, Advanced tab
    2. Click the "Settings" button in the Performance section
    3. Click the Advanced tab and then the "Change" button under Virtual memory section
    4. This will show how much virtual RAM (hard drive space) is set aside for swapping RAM to HD
    Ideally, you do not want your system using ANY of the paging file because it is VERY slow compared to the speed of operations that take place in RAM.

    If you cannot increase the amount of physical RAM hardware in your box, you might be able to get away with customizing the paging file to use a certain amount. On my system, I have the initial and maximum size both set to 2048 MB. Just know that if you do this, MC performance will be absolutely horrible if it works. You need at least 1GB of physical RAM so you can give 768MB of it to Minecraft. That won't leave any extra for you to actually "play" Minecraft on the same machine.

    LHammonds
     
  14. Offline

    tomajstr

    ok, physical memory is:
    Total: 523760
    Available: 323000
     
Thread Status:
Not open for further replies.

Share This Page