[SPIGOT-3393] Could not initialize class org.fusesource.jansi.WindowsAnsiOutputStream - 1.12_R1, Pls help me :) Created: 03/Jul/17 Updated: 04/Jul/17 Resolved: 03/Jul/17 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | yzz17 | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Hello, thanks for taking the time to see my problem, try many ways and just do not manage to fix it on my own, I need your help, I'm sure it is my PC, please your help would be appreciated. I have, java 8 least update, and JDK least update, And I think the most recent version of spigot - MC 1.12, And I'm sorry, I can not put the exact version in which I have, the server stops working before I can place a command, but I remember compiling it about two days ago (works on other PCs), I'm sure it's not my spigot, In fact if I use a version like the 1.9 there is the same problem but the server doesn't stop, I think I missed something, I'm an old user of Mc, who come back to have a good time _C:\Users\z7\Desktop\Server>java -Xmx1G -jar spigot.jar -o true |
||
| Description |
|
Could not initialize class org.fusesource.jansi.WindowsAnsiOutputStream |
| Comments |
| Comment by yzz17 [ 04/Jul/17 ] |
|
Thank you both, Bat code is: java -Xmx1G -Dlog4j.skipJansi=true -jar spigot.jar -o true, the server works, I leave the output of the console, Has a strange error, But it doesn't matter, it works ------------------------------------------------------------------------------------------------------------------- [21:21:29 INFO]: [STDERR]: java.lang.NoClassDefFoundError: Could not initialize class org.fusesource.jansi.internal.Kernel32 |
| Comment by md_5 [ 04/Jul/17 ] |
|
Before -jar, for the -D option, and its --nojline note two dashes |
| Comment by yzz17 [ 04/Jul/17 ] |
|
Already try the two options, Thank you for responding ------------------------------------------------------------------------- C:\Users\z7\Desktop\Server>java -Xmx1G -jar spigot.jar -o false -Dlog4j.skipJansi=true C:\Users\z7\Desktop\Server>java -Xmx1G -jar spigot.jar -o false -nojline |
| Comment by Black Hole [ 03/Jul/17 ] |
|
On some Windows server versions the required Visual C++ Runtimes for Jansi are not installed. You have to install the x64 version if you're running a 64 bit Java: Anyway, it will work if you start your server with -nojline as last argument. |
| Comment by md_5 [ 03/Jul/17 ] |
|
Please add -Dlog4j.skipJansi=true as a Java argument |
| Comment by yzz17 [ 03/Jul/17 ] |
|
Hello, thanks for taking the time to see my problem, try many ways and just do not manage to fix it on my own, I need your help, I'm sure it is my PC, please your help would be appreciated. |