CMD Error: Failed to load Main-Class manifest attribute from jar-file.

Discussion in 'Bukkit Tools' started by YC98, Apr 13, 2012.

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

    YC98

    I saw in a Turorial that I have to create a batch-script with the following code:
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar bukkit-1.2.5-R1.1.jar
    PAUSE
    But when I run the script, I get the following error:
    I've read in some forums that it has to do something with a "Mainclass-Manifest Header".
    Thanks for help.
     
Thread Status:
Not open for further replies.

Share This Page