Java Problem?

Discussion in 'Bukkit Help' started by cray_Z, Apr 4, 2012.

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

    cray_Z

    Hey all,

    I have recently gotten a new computer, its a HP. It has a 500GB memory and 8 GB of RAM.

    I get this error when I try to run my server with anything more than 1024M in the RUN.bat.

    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    Press any key to continue . . .



    I hope that you can help!
    I really need to get this server up and running.

    Thanks--
    cray_Z
     
  2. Offline

    hurraylifesucks

    Can you post the contents of your run.bat file so we can see exactly what is being put in there?
     
  3. Offline

    cray_Z

    Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xmx2560M -Xms2560M -jar craftbukkit.jar
    PAUSE

    Can you help?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  4. Offline

    hurraylifesucks

    Try taking out the (x86) in your run.bat file after the %ProgramFiles
     
  5. Offline

    cray_Z

    I dont think i should, thats where my java folder and such is located, but i'll try
     
  6. Offline

    hurraylifesucks

  7. Offline

    cray_Z

    Nope this is this error i get now:

    The system cannot find the path specified.
    Press any key to continue . . .

    I moved the java file to the Program Files folder (out of the (x86) folder) and got the same error:

    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    Press any key to continue . . .

    Still doesnt work...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
Thread Status:
Not open for further replies.

Share This Page