Jump to content
  • 0

NoClassDefFoundError: could not initialize class org.fusesourse.jansi.internal.Kerne132


Question

Posted

Title: NoClassDefFoundError: could not initialize class org.fusesourse.jansi.internal.Kerne132

Version: 3.1.2

OS: windows 7 home premium 64 bit

Java Version: java 7

Description of Problem:

i run a small Tekkit server, and when the new update came out I could no longer connect to it (which makes sense). I downloaded the new server (3.1.2), extracted the files like I did before, but when the CMD started up I got the usual "182 recipes/27 achievments" followed by the error message I posted in the Error Messages section D: I saw another post similar to this saying to add "--nojline" to the end of the batch file, but when I tried this it didn't work! (To be fair, I might not have done it right) Any help someone could give would be much appriciated!

Error Messages:

java.lang.FoundError: could not initialize class org.fusesourse.jansi.internal.Kerne132

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:101)

at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:637

at org.bukkit.craftbukkit.Main.main(Main.java:136)

Error Log:




15 answers to this question

Recommended Posts

  • 0
Posted

Can someone please answer this? I am having the same issue.

CPU-i7 960

Mobo-Intel DX58SO

RAM-6GBs Corsair XMS3 DDR3 1333

Power Supply-Corsair TX850 PSU

OS-Windows Web Server 2008 R2

  • 0
Posted

Sorry to thread jack. Doing that still doesnt work. Although it does say its a command now.

Hate to bust your bubble, but "still doesn't work" isn't enough to go on. You're not threadjacking if it's the exact same problem.

  • 0
Posted

Hate to bust your bubble, but "still doesn't work" isn't enough to go on. You're not threadjacking if it's the exact same problem.

Sorry, it gives the same error with the command after the directory location.

java.lang.NoClassDefFoundError: could not initialize class org.fusesourse.jansi.internal.Kerne132

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:101)

at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:637

at org.bukkit.craftbukkit.Main.main(Main.java:136)

C:\Program Files (x86)\Minecraft>pause & quot;-nojline & quot;

  • 0
Posted

You need the -nojline on the first line, not after pause.

It says its not a command if I put it anywhere else. :/ Java is updated and everything to eliminate any possibilities.

  • 0
Posted

Hi

I also have this problem as i downloaded it for the first time today and when i ran it I got the exact same error.I used the same .bat file provided in the download:

java -Xmx1G -Xms1G -jar Tekkit.jar nogui

pause

I run my server on a pentium 4 3.2GHZ pc with 1GB of RAM.

Please help as i would like to have a Tekkit server for me and my friends to play on.

  • 0
Posted

C:\Program Files (x86)\Minecraft>java -Xmx5G -Xms4G -jar Tekkit.jar & quot;--n

ojline & quot;

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:101)

at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:637)

at org.bukkit.craftbukkit.Main.main(Main.java:136)

'quot' is not recognized as an internal or external command,

operable program or batch file.

'quot' is not recognized as an internal or external command,

operable program or batch file.

C:\Program Files (x86)\Minecraft>pause

Press any key to continue . . .

  • 0
Posted

Just had same error message as the OP, using Tekkit Classic server 3.1.2.

Adding -nojline solved my problem.

This is the exact copy of my launch.bat:

java -Xmx8G -Xms8G -jar Tekkit.jar nogui -nojline

pause

Thank you for info.

Also, anyone able to explain me simply what are consequences of using -nojline, please?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...