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 (Text):
    1. 182 recipes
    2. 27 achievements
    3. java.lang.NoClassDefFoundError: Could not initialize class org.fusesource.jansi.internal.Kernel32
    4.         at org.fusesource.jansi.internal.WindowsSupport.getConsoleMode(WindowsSupport.java:50)
    5.         at jline.WindowsTerminal.getConsoleMode(WindowsTerminal.java:176)
    6.         at jline.WindowsTerminal.init(WindowsTerminal.java:80)
    7.         at jline.TerminalFactory.create(TerminalFactory.java:93)
    8.         at jline.TerminalFactory.get(TerminalFactory.java:151)
    9.         at jline.console.ConsoleReader.<init>(ConsoleReader.java:140)
    10.         at jline.console.ConsoleReader.<init>(ConsoleReader.java:126)
    11.         at net.minecraft.server.MinecraftServer.<init>(MinecraftServer.java:94)
    12.         at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:624)
    13.         at org.bukkit.craftbukkit.Main.main(Main.java:136)
    14. Press any key to continue . . .
    Server folder:
    [​IMG]

    Starter.bat:
    Code (Text):
    1. @ECHO OFF
    2. SET BINDIR=%~dp0
    3. CD /D "%BINDIR%"
    4. "C:\Program Files (x86)\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    5. 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
     
  2. Offline

    Omnitv

    My BukkitDev Profile
    My Plugins (3)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  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 (Text):
    1. 182 recipes
    2. 27 achievements
    3. java.lang.NoClassDefFoundError: Could not initialize class org.fusesource.jansi.internal.Kernel32
    4.         at org.fusesource.jansi.internal.WindowsSupport.getConsoleMode(WindowsSupport.java:50)
    5.         at jline.WindowsTerminal.getConsoleMode(WindowsTerminal.java:176)
    6.         at jline.WindowsTerminal.init(WindowsTerminal.java:80)
    7.         at jline.TerminalFactory.create(TerminalFactory.java:93)
    8.         at jline.TerminalFactory.get(TerminalFactory.java:151)
    9.         at jline.console.ConsoleReader.<init>(ConsoleReader.java:140)
    10.         at jline.console.ConsoleReader.<init>(ConsoleReader.java:126)
    11.         at net.minecraft.server.MinecraftServer.<init>(MinecraftServer.java:94)
    12.         at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:624)
    13.         at org.bukkit.craftbukkit.Main.main(Main.java:136)
    14. Press any key to continue . . .
     
  4. Offline

    Omnitv

    My BukkitDev Profile
    My Plugins (3)
    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
     
  5. Offline

    Dan_Dano

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

    TnT Retired Staff

    My BukkitDev Profile
    My Plugins (2)
    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