error when trying to create server

Discussion in 'Bukkit Help' started by Arcetla, Sep 16, 2014.

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

    Arcetla

    Hello there,

    Everytime when i downloaded the server jar file, and put java -Xmx1024M -jar craftbukkit.jar -o true
    PAUSE
    in a text editor as a bat file, i get the error no main manifest attribute in craftbukkit.jar, when i opened the run file.
    Any1 has an idea of how i can fix this? ive re-downloaded the jar file many times already.
    Thanks in advance
     
  2. Arcetla Where are you downloading the file from?
     
    DrPyroCupcake likes this.
  3. Offline

    DrPyroCupcake

    Paste your start up log.
     
  4. Offline

    saigonheat

    Arcetla
    What is the jar file named? You need to rename the jar file so it just says "craftbukkit" and nothing else.
     
  5. Offline

    Arcetla

    in the text editor ive just pasted

    java -Xmx1024M -jar craftbukkit.jar -o true
    PAUSE


    [​IMG]
     

    Attached Files:

    Last edited by a moderator: Jun 30, 2016
  6. Arcetla Please answer my question, were ever you downloaded it from didn't include the main class in the manifest.MF.
     
  7. Arcetla Type the following command:
    Code:
    ren craftbukkit.jar craftbukkit.zip
    Open up craftbukkit.zip, take a screenshot, and post here please :)
     
  8. Offline

    Arcetla

    sorry i dont understand u, i dont have a zip file in my folder. also in cmd if i try to type it automatically quits, if u mean the jar file, i cant open it
     
  9. Arcetla You have craftbukkit.jar, right? In the same way you made the Java -Xmx... thing, make one with the command I said. It will rename the craftbukkit.jar to craftbukkit.zip, which you can then open to view the contents.

    Alternatively, if you have an archive program such as 7-zip or winrar, you can open the .jar file and view the contents without renaming.
     
  10. Offline

    Arcetla

  11. Arcetla Looks to me like you have Bukkit (which is what developers make plugins with) rather than CraftBukkit (which is what you use to run the server)
     
  12. Offline

    Arcetla

    ok, how can i fix it??
     
  13. Arcetla You'll have to download CraftBukkit instead of Bukkit. I'm afraid that we cannot help you on these forums by providing a link as CraftBukkit is currently facing legal issues and cannot be distributed.
     
  14. Offline

    Arcetla

    what can u do with bukkit then? is that a plugin for craftbukkit or?
     
  15. Arcetla Bukkit is the API, craftbukkit is the thing that runs the server. There is no way to get craftbukkit as it is illegal to post a link to it as it was DMCA'd by Wes Wolfe. Also tahg'ing or quoting is a good way for people to respond fast.
     
  16. Offline

    Arcetla

    so i have to wait until craftbukkit works again
     
Thread Status:
Not open for further replies.

Share This Page