Problem With The RUN.bat

Discussion in 'Bukkit Help' started by Nath245, Mar 5, 2012.

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

    Nath245

    Well, I've tryed to get this wrking heaps on my own, but it's not working. I'm running 32 bit on 64 bit machine, so I have this in notebook:

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

    It's exactly what the wiki and every other site I go onto says. I save it as RUN.bat, so it's definitely a bat file. So, when I save it and double click it, it opens up cmd and says:

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


    I press a key, then the window closes and nothing happens. I'm using a windows 7 laptop, I've got a vanilla server working. I've tryed the noob friendly auto downloader, but I can't download it because when I click on the link for the download it says all slots are filled, uprade to premium and so on. Plz help. Thankyou for reading.
     
  2. Offline

    sillyrosster

    Is this ("%ProgramFiles%\Java\jre7\bin\java.exe") set up correctly? That looks like the problem. Also is your craftbukkit jar in the folder named craftbukkit.jar?
     
  3. Offline

    Nath245

    My craftbukkit.jar is in the Java Folder. The "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" is the exact path to java.exe

    bump, still not working

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

    Mark07040

    by me it says unabele to access the jarfile craftbukkkit.jar press any key to continu
     
  5. Offline

    sillyrosster

    Do you have CB named craftbukkit.jar?
     
  6. Offline

    Mark07040

    i tink so becose if it was not it would not say that
     
  7. Offline

    Nghtmr9999

    Is your jarfile exactly named craftbukkit.jar? Are you sure it isn't something like craftbukkit.jar.jar?

    Create a new batch file in the same place, paste this and run it. What does it spit out?

    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    dir /B *.jar
    PAUSE
    Code Disclosure: This will output everything in the folder with a .jar extension
     
Thread Status:
Not open for further replies.

Share This Page