Solved Could not initialize class org.fusesource.jansi.internal.Kernel32

Discussion in 'Bukkit Help' started by Dan_Dano, Jul 14, 2012.

  1. Offline

    Dan_Dano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi,
    When i run bukkit i get this error:
    Code:
    182 recipes
    27 achievements
    java.lang.NoClassDefFoundError: Could not initialize class org.fusesource.jansi.internal.Kernel32
            at org.fusesource.jansi.internal.WindowsSupport.getConsoleMode(WindowsSupport.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:136)
    Press any key to continue . . .
    Server folder:
    [IMG]

    Starter.bat:
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "C:\Program Files (x86)\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    System information:
    [IMG]
    Java: jr7 (32-bit)
    Bukkit: http://dl.bukkit.org/latest-rb/craftbukkit.jar

    The weird thing is, i had a server before. But i would reset it... And now this :S

    This post has been edited 1 time. It was last edited by Dan_Dano Jul 14, 2012.
  2. Offline

    Omnitv

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

    This post has been edited 1 time. It was last edited by Omnitv Jul 14, 2012.
  3. Offline

    Dan_Dano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Both things installed... (and deleted old java)
    And edited the .bat to normal programfiles.

    Same error :S
    Code:
    182 recipes
    27 achievements
    java.lang.NoClassDefFoundError: Could not initialize class org.fusesource.jansi.internal.Kernel32
            at org.fusesource.jansi.internal.WindowsSupport.getConsoleMode(WindowsSupport.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:136)
    Press any key to continue . . .

    This post has been edited 2 times. It was last edited by Dan_Dano Jul 14, 2012.
  4. Offline

    Omnitv

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Are you shure you have Visual C++ 2008 Redistributable installed?
    Try the nojline
    -nojline to the end of your start line, which turns off jline and will allow you to avoid that error.
    Ex:
    Code:
    java -Xms1G -Xmx1G -jar craftbukkit.jar -nojline

    This post has been edited 1 time. It was last edited by Omnitv Jul 14, 2012.
  5. Offline

    Dan_Dano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanx man...
    It worked!
  6. Offline

    TnT Retired Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You have x64 Visual C++ 2008 Redistributable installed, but are using x86 Java.

    You can do as @Omnitv suggests, which will get you running, or you can install x64 Java. Alternatively, you can also install x86 Visual C++ 2008 Redistributable.
    Omnitv likes this.

Share This Page