I need help with the RUN.bat! REWARD

Discussion in 'Bukkit Help' started by flamewolf107, Jul 15, 2012.

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

    flamewolf107

    I am running 1.2.5 minecraft and need help. My RUN.bat says path is not specified when I open it. I have tried many solutions but none work. Unlimited in-game cash for whoever fixes it :(
     
  2. Offline

    imaxorz

    What version of Java do you have on your computer? (I assume you are trying to run this on your computer?)
     
  3. Offline

    jacklin213

    flamewolf107 make a new text document if your using java 6
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    if your using java 7
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    save as RUN.bat

    REMEMBER TO RENAME YOUR CB-RB INTO craftbukkit.jar
     
  4. Offline

    MrBervice

    Ok i used the code for Java 7 (I have latest version)
    And I quote this is what i get from the command prompt
    "182 recipes
    27 achievements
    00:01:54 [INFO] Starting minecraft server version 1.2.5
    00:01:54 [INFO] Loading properties
    00:01:56 [SEVERE] java.net.UnknownHostException: 98768978545
    00:01:56 [SEVERE] at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Me
    thod)
    00:01:56 [SEVERE] at java.net.InetAddress$1.lookupAllHostAddr(Unknown Sour
    ce)
    00:01:56 [SEVERE] at java.net.InetAddress.getAddressesFromNameService(Unkn
    own Source)
    00:01:56 [SEVERE] at java.net.InetAddress.getAllByName0(Unknown Source)
    00:01:56 [SEVERE] at java.net.InetAddress.getAllByName(Unknown Source)
    00:01:56 [SEVERE] at java.net.InetAddress.getAllByName(Unknown Source)
    00:01:56 [SEVERE] at java.net.InetAddress.getByName(Unknown Source)
    00:01:56 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:144)
    00:01:56 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:432)
    00:01:56 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:492)
    00:01:56 [SEVERE] Unexpected exception
    java.net.UnknownHostException: 98768978545
    at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
    at java.net.InetAddress.getAddressesFromNameService(Unknown Source)
    at java.net.InetAddress.getAllByName0(Unknown Source)
    at java.net.InetAddress.getAllByName(Unknown Source)
    at java.net.InetAddress.getAllByName(Unknown Source)
    at java.net.InetAddress.getByName(Unknown Source)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    >"
    So I don't know If you understand that or not,
    But im currently using Windows Vista.
    If you could please help me if would be appreciated!
    Thanks!
     
  5. Offline

    jacklin213

    MrBervice open command prompt and type this in
    Code:
    java -version
    and tell me what it says
     
  6. Offline

    flamewolf107

    Just installed the newest version of java. And yes it's on my computer (Windows 7):D

    And the code is the one I was using, didn't work

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

    jacklin213

    did you use the code i gave u?
     
  8. Offline

    flamewolf107

    Yes

    As apposed to???:confused:

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

    ewized

    Also post you server.properties as there my be an error there. Also leave "server-ip=" blank unless you know when to use it.
     
  10. Offline

    jacklin213

    i c your problem your using ur IV6 adress arent you
    go to cmd(command prompt) type in "ipconfig/all"
    copy the recommended address and put it in your server.properties file
     
  11. Offline

    flamewolf107

    I think I fixed it! now the RUN.bat says ' java ' is not recognized as an internal or external command, operable program or batch file.
    Press any key to continue...
    ???????

    #Minecraft server properties
    #Thu Jul 19 06:13:18 EST 2012
    allow-nether=true
    level-name=world
    enable-query=false
    allow-flight=false
    server-port=25565
    level-type=DEFAULT
    enable-rcon=false
    level-seed=
    server-ip=
    max-build-height=256
    spawn-npcs=true
    white-list=false
    spawn-animals=true
    online-mode=true
    pvp=true
    difficulty=1
    gamemode=0
    max-players=20
    spawn-monsters=true
    generate-structures=true
    view-distance=10
    motd=A Minecraft Server
    Sever properties obviously

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

    jacklin213

    that means the path is not found which means the code may have a error what bit of windows are u using? and what java version?
     
  13. Offline

    flamewolf107

    I give up. I'll get some help another way
     
  14. Offline

    jacklin213

  15. Offline

    tangy777

    I'm having the same problem as you, the run.bat won't load, and i'v tried every code that i'v seen. Please let me know if you find a solution...
     
  16. Offline

    Sayshal

    This post is really old.. Make you're own to get relevant help.
     
  17. Offline

    zack6849

    update to java 7, it will set the path for you :)
     
  18. Offline

    Maihym

    Make sure you have java 7 installed correctly by going into Program Files edither (X86) or the other one I forgot but go into Java then go into jre7 then go into bin then look for a java.exe if its not there uninstall java completly even delete the folders if you have to and install it again then put in

    Code:
    ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "C:\Program Files\Java\jre7\bin\java.exe" -Xmx1024M -Xms512M -jar craftbukkit.jar
    PAUSE
    Message me if it works or not and I will see to help you further.
     
Thread Status:
Not open for further replies.

Share This Page