Could Not Create the Java Virtual Machine.

Discussion in 'Bukkit Help' started by XGen117, Aug 4, 2011.

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

    XGen117

    Hi,
    I am using a Mac OS X and I have a problem that when I try and launch the bukkit server, it says this: /Users/carlos/Desktop/Bukkit\ Server/LaunchServer.command ; exit;
    Carlos's-MacBook-Pro:~ carlos$ /Users/carlosvera/Desktop/Bukkit\ Server/LaunchServer.command ; exit;
    Invalid maximum heap size: -Xmx[1024]M
    Could not create the Java virtual machine.
    logout
    And you see, I have tried many different websites, googled it a few times, and no problem like this has happened to a Mac, and none have had this specific problem. Please help, if there is a solution

    PS: I have had a bukkit server a while ago, and had deleted all of it, (the launcher, the plugins file and the plugins, etc.) and I am not sure if that affect anything.
     
  2. Xmx[1024]M should be Xmx1024M change it in your start command file.
     
  3. Offline

    XGen117

    I have tried that, but I can't find that textedit anywhere. Do you know where it might be?
     
  4. What? :confused: Just post the content of your start file here :)
     
  5. Offline

    XGen117

    My "start" file??? that sounds an awful lot like windows, and im not sure if that exists on a mac
     
  6. .....................................................................
    .....................
    ...........
    .
    .
    .
    .
    .
    .
    ..
    ..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................


    ~Facepalm~

    With start file I mean the file that you use to start your server :confused:~!
     
  7. Offline

    XGen117

    it is the simple launch server.command file for the mac...
     
  8. Then post it ffs D: If I have to ask you 3 times everytime before you actually do it then I won't be able to help you.

    Simply open it and post EVERYTHING thats in there into here, then I can help you ....
     
  9. Offline

    XGen117

    umm thats what i did above, it opens the terminal, and auto types this:
    /Users/carlos/Desktop/Bukkit\ Server/LaunchServer.command ; exit;
    Carlos's-MacBook-Pro:~ carlos$ /Users/carlosvera/Desktop/Bukkit\ Server/LaunchServer.command ; exit;
    Invalid maximum heap size: -Xmx[1024]M
    Could not create the Java virtual machine.
    logout
    Thats what it says as i wrote above
     
  10. Okay are you even listening? Open the file LaunchServer.command as in EDIT it, copy the whole thing and post it here.
     
  11. Offline

    XGen117

    cd ~/Desktop/Bukkit\ Server
    java -Xincgc -Xmx[1024]M -jar CraftBukkit.jar

    sorry, was a little hasty when reading your comment
     
  12. Ok, now do you see it? Look at my first post ;). I told you the answer in my very first post, all of this could have been avoided ^^ Simply remove the [] from Xmx[1024]M
     
Thread Status:
Not open for further replies.

Share This Page