Could not initialize class error

Discussion in 'Bukkit Help' started by SammoWammo, Jun 5, 2012.

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

    SammoWammo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I downloaded the current CraftBukkit update, 1.2.5 R3.0, and created a start file. I renamed the jar, and renamed the name in the start file. I then opened the server, but I got an error. It started to load the recipes and achievements, but then came up with this error:

    182 recipes
    27 achievements
    java.lang.NoClassDefFoundError: Could not initialize class org.fusesource.jansi.
    internal.Kernel32
    at org.fusesource.jansi.internal.WindowsSupport.getConsoleMode(WindowsSu
    pport.java:50)
    at jline.WindowsTerminal.getConsoleMode(WindowsTerminal.java:176)
    at jline.WindowsTerminal.init(WindowsTerminal.java:80)
    at jline.TerminalFactory.create(TerminalFactory.java:93)
    at jline.TerminalFactory.get(TerminalFactory.java:151)
    at jline.console.ConsoleReader.<init>(ConsoleReader.java:140)
    at jline.console.ConsoleReader.<init>(ConsoleReader.java:126)
    at net.minecraft.server.MinecraftServer.<init>(MinecraftServer.java:94)
    at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:624)
    at org.bukkit.craftbukkit.Main.main(Main.java:140)
    Press any key to continue . . .


    Can anybody help me with this?
  2. Offline

    Forgd

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I am getting this same problem.
  3. Offline

    Forgd

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Aha! I found a solution. You need to add a line of code to your batch file.

    @Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar --nojline
    PAUSE
    MedalDaddy66 and TheGurw like this.
  4. Offline

    TheGurw

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Fixed it wonderfully, thanks!
  5. Offline

    TnT Trinitrotoluene Maximus Administrator Bukkit Help

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

    This post has been edited 1 time. It was last edited by TnT Jun 18, 2012.
  6. Offline

    MedalDaddy66

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    THANK YOU SO MUCH
  7. Offline

    Santushi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    the system can not find the stores paths
    :mad:

    This post has been edited 1 time. It was last edited by TnT Sep 27, 2012.
  8. Offline

    Santushi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  9. Offline

    doulags

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    it cant find the path specified
  10. Offline

    doulags

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

    This post has been edited 1 time. It was last edited by c0mp Feb 17, 2013.
Thread Status:
Not open for further replies.

Share This Page