I have Java 8

Discussion in 'Bukkit Help' started by Dr_Nickles, Nov 12, 2014.

?

Do any of you have Java 8 and have gotten an error?

Poll closed Nov 12, 2015.
  1. Yes, I do have Java 8 and I got an error running the Mojang server with "run.bat"

    25.0%
  2. Yes I have Java 8 but NO error what so ever

    50.0%
  3. No, I don't have Java 8 and I got NO error what so ever

    25.0%
  4. No. I don't have Java 8 and I got 1 error

    0 vote(s)
    0.0%
Multiple votes are allowed.
Thread Status:
Not open for further replies.
  1. Offline

    Dr_Nickles

    I did "java -version" in CMD and I get this:
    java version "1.8.0_25"
    I was watching a video from YouTuber TheKickBackSpot and it runs minecraft_server.exe from minecraft.net and I try this code in "run.bat": "
    @ECHO OFF
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar minecraft_server.exe
    PAUSE
    and I get something similar to this when I run it:
    The system cannot find the specified path.[tnt]:mad:[creeper][zombie]
     

    Attached Files:

    • CMD.PNG
      CMD.PNG
      File size:
      12.1 KB
      Views:
      2
  2. Offline

    BoomScoom

    Dr_Nickles Try this. It works for me.


    Echo OFF
    "%ProgramFiles(x86)%\Java\jre7\bin/java.exe" -Xmx512M -Xms512M -jar craftbukkit.jar
    PAUSE
     
  3. Offline

    Gamecube762

    I would just like to point out that you will get the same error, regardless of the Java version.

    Also, you are trying to make Java run an exe file. Java runs .jar files. As for the "file not found", make sure your minecraft_server.jar and your run.bat are both in the same folder.
     
  4. Offline

    Zupsub

    Your path is wrong... And because you use java 8 try to replace 7 with 8 in the path.
     
Thread Status:
Not open for further replies.

Share This Page