Solved Unable to access Jar file!

Discussion in 'Bukkit Help' started by Italixz, Jan 20, 2014.

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

    Italixz

    when I try to start a bukkit server for the first time it just says:
    --------------------------------------------------------------------------------------------------------------------------
    C:\Users\Me\Desktop\Minecraft Server>java -Xmx1024M -jar craftbukkit.jar -o true

    Error: Unable to access jarfile craftbukkit.jar

    C:\Users\Me\Desktop\Minecraft Server>PAUSE
    Press any key to continue...
    --------------------------------------------------------------------------------------------------------------------------
    Please help I have no idea whats wrong!

    A default MinecraftServer.exe does work though
     
  2. Offline

    ColaCraft

    Is there a craftbukkit.jar in that location? Keep in mind it needs to be named craftbukkit.jar
     
  3. Offline

    Italixz

    yes there is a craftbukkit.jar in the same folder as the run.bat
     
  4. Offline

    ColaCraft

    Please follow this link exactly as it reads and your server should be off in no time.

    Be sure to keep in mind that .jar is a file extension, and should not be in the actual name. Be sure that the file is not named craftbukkit.jar.jar, try renaming it to just craftbukkit, the .jar is sort of given.
     
  5. Offline

    Italixz

    No, that doesn't work. It gives the same error.
     
  6. Offline

    ColaCraft

    Rename the file to just craftbukkit
     
  7. Offline

    Italixz

    My code in the run.bat is:
    java -Xmx1024M -jar craftbukkit -o true
    PAUSE

    My CB Jar is named craftbukkit

    and it still says:
    --------------------------------------------------------------------------------------------------------------------------
    C:\Users\Me\Desktop\Minecraft Server>java -Xmx1024M -jar craftbukkit.jar -o true

    Error: Unable to access jarfile craftbukkit.jar

    C:\Users\Me\Desktop\Minecraft Server>PAUSE
    Press any key to continue...
    --------------------------------------------------------------------------------------------------------------------------
     
  8. Offline

    ImminentFate

    rename the ACTUAL file to "craftbukkit", then use the code:
    Code:java
    1. java -Xmx1024M -jar craftbukkit.jar -o true
    2. PAUSE
     
  9. Offline

    Italixz

    ok thanks that worked but now I cant get into the server,
    Server Log:

    C:\Users\Me\Desktop\craftbukkit>java -Xmx1024M -jar craftbukkit.jar -o true
    22:15:22 [INFO] Starting minecraft server version 1.6.4
    22:15:22 [INFO] Loading properties
    22:15:22 [INFO] Default game type: SURVIVAL
    22:15:22 [INFO] Generating keypair
    22:15:22 [INFO] Starting Minecraft server on *:25565
    22:15:23 [INFO] This server is running CraftBukkit version git-Bukkit-1.6.4-R2.0
    -b2918jnks (MC: 1.6.4) (Implementing API version 1.6.4-R2.0)
    22:15:23 [INFO] Preparing level "world"
    22:15:23 [INFO] Preparing start region for level 0 (Seed: 9071614815841849506)
    22:15:24 [INFO] Preparing spawn area: 83%
    22:15:24 [INFO] Preparing start region for level 1 (Seed: 9071614815841849506)
    22:15:25 [INFO] Preparing start region for level 2 (Seed: 9071614815841849506)
    22:15:25 [INFO] Server permissions file permissions.yml is empty, ignoring it
    22:15:26 [INFO] Done (2.743s)! For help, type "help" or "?"
    22:15:56 [INFO] /127.0.0.1:51902 lost connection
    22:16:04 [INFO] /127.0.0.1:51911 lost connection
    >

    I have LocalHost as the Ip in my MC client
     
  10. Offline

    ImminentFate

    if localhost isn't working, try 127.0.0.1
     
  11. Offline

    Italixz

    ImminentFate
    No, that doesn't work either. I tried that and the one IPConfig shows and the one from IPChicken.com when I refresh my client with either of them it says the same thing on the server console:
    "[INFO] /127.0.0.1:51911 lost connection" but the number changes slightly each time.
     
  12. Offline

    dvargas135

    it was 0.0.0.0
     
Thread Status:
Not open for further replies.

Share This Page