Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
470 views
in Technique[技术] by (71.8m points)

java - Error launching Minecraft using command prompt: org.lwjgl.LWJGLException: Failed to initialise conrollers

I am having trouble again getting to launch Minecraft version b1.1_02. When I launch it via command prompt, It launches, but is unusable because of this error:

org.lwjgl.LEJGLException: Failed to initialise controllers

I am pretty sure it revolves around the -Djava.library.path=C:... function because when I change it, Minecraft doesn't launch at all. The path I am putting in there is C:Users*****AppDataRoaming.minecraftin atives I recently changed the folder name to get used to it better, it was originally a player data code. I have no idea why this is happening, the files in the natives folder are .dll files. Maybe there are other .dll files somewhere, but I have been incapable of finding them so far. If anyone could help me, much thanks.

Here is the code I am putting in the cmd prompt: java -Xms1024m -Xmx1024m -cp C:/Users/*****/AppData/Roaming/.minecraft/versions/b1.1_02/b1.1_02.jar;C:/Users/*****/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.1/lwjgl-2.9.1.jar;C:/Users/*****/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.1/lwjgl_util-2.9.1.jar;C:/Users/*****/AppData/Roaming/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar -Djava.library.path=C:Users*****AppDataRoaming.minecraftin atives net.minecraft.client.Minecraft pale 9807

and here is the error as follows:

org.lwjgl.LWJGLException: Failed to initialise controllers at org.lwjgl.input.Controllers.create(Controllers.java:86) at net.minecraft.client.Minecraft.a(SourceFile:304) at net.minecraft.client.Minecraft.run(SourceFile:641) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NoClassDefFoundError: net/java/games/util/plugins/Plugins at net.java.games.input.ControllerEnvironment.<clinit>(ControllerEnvironment.java:84) at org.lwjgl.input.Controllers.create(Controllers.java:69) ... 3 more

Thanks,

Pale_Gray

question from:https://stackoverflow.com/questions/65862246/error-launching-minecraft-using-command-prompt-org-lwjgl-lwjglexception-failed

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...