Jump to content
  • 0

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


Athire

Question

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:




Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 0

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;

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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 . . .

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

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...