Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4806  / 2 Years ago, thu, july 21, 2022, 3:12:54

These errors happen when I launch minecraft, First error happens when I launch the login menu ( It still boots up ). Second when I actually launch the game.



Landswimmer@linux-99vz:~/Documents/Minecraft/Vanilla> java -jar minecraft.jar 
asdf
java.io.FileNotFoundException: /home/Landswimmer/.minecraft/lastlogin (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at net.minecraft.LoginForm.readUsername(LoginForm.java:110)
at net.minecraft.LoginForm.<init>(LoginForm.java:55)
at net.minecraft.LauncherFrame.<init>(LauncherFrame.java:23)
at net.minecraft.LauncherFrame.main(LauncherFrame.java:167)
at net.minecraft.MinecraftLauncher.main(MinecraftLauncher.java:13)

Exception in thread "Thread-4" java.lang.UnsatisfiedLinkError: /home/Landswimmer/.minecraft/bin/natives/liblwjgl.so: /home/Landswimmer/.minecraft/bin/natives/liblwjgl.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
at java.lang.Runtime.load0(Runtime.java:792)
at java.lang.System.load(System.java:1059)
at org.lwjgl.Sys$1.run(Sys.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
at org.lwjgl.Sys.loadLibrary(Sys.java:81)
at org.lwjgl.Sys.<clinit>(Sys.java:98)
at net.minecraft.client.Minecraft.G(SourceFile:1985)
at awe.<init>(SourceFile:20)
at net.minecraft.client.Minecraft.<init>(SourceFile:76)
at avv.<init>(SourceFile:38)
at net.minecraft.client.MinecraftApplet.init(SourceFile:38)
at net.minecraft.Launcher.replace(Launcher.java:136)
at net.minecraft.Launcher$1.run(Launcher.java:79)

More From » java

 Answers
2

Java Oracle isn't the best solution for Minecraft. I'd suggest using OpenJDK instead. You can see how you install OpenJDK for Ubuntu, here



Luis Alvarado's explanation (as Meer Bong suggested in the last comment) is very complicated, and you don't need to install Minecraft via Wine, to make it work.



You simply download the Launcher from Minecraft's website (the file called minecraft.jar) and right click it, and open it via OpenJDK. Then, from the launcher menu, click the options button, and press the button "Force Update". Then it should work perfectly. It worked perfect for me, and I've had no trouble with Minecraft whatsoever.


[#31363] Thursday, July 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mouedi

Total Points: 420
Total Questions: 109
Total Answers: 116

Location: Philippines
Member since Wed, Aug 19, 2020
4 Years ago
mouedi questions
Mon, Mar 28, 22, 20:06, 2 Years ago
Sat, Dec 3, 22, 15:04, 1 Year ago
Thu, Mar 10, 22, 05:12, 2 Years ago
Wed, Jul 20, 22, 15:05, 2 Years ago
;