Non-ANSI windows user pathnames result in client crashes.
Testing result Summary: Windows userpaths with non-ANSI characters will result in a client crash. This cannot be fixed with --workDir.
Setup: I created four administrator accounts, Test, Testö, TestĂ, and Testş. Methodology: With each account I attempted to run Minecraft normally, and run Minecraft with --workDir directed to C:\MC_Root\.
Result details: The Test username (English) is in both Ascii and ANSI sets. This was my control to verify that the testing methodology was sound. In both cases, the client ran normally. The Testö username (Swedish) is not ascii, but is in the ANSI set (alt+0246). In both cases, the client ran normally.
The TestĂ username (Vietnamese) and Testş username (Azerbaijani) are not in the ANSI set. Running with default settings produces the "Could not find or load main class net.minecraft.client.main.Main" error (launcher_log.txt). Running with --workDir C:\MC argument produces the "java.lang.UnsatisfiedLinkError: Failed to locate library: lwjgl.dll" error (crash-2019-01-28_15.04.56-client.txt).
Environment
Windows 10, 1809.
Created Issue:
Non-ANSI windows user pathnames result in client crashes.
Testing result Summary: Windows userpaths with non-ANSI characters will result in a client crash. This cannot be fixed with --workDir.
Setup: I created four administrator accounts, Test, Testö, TestĂ, and Testş. Methodology: With each account I attempted to run Minecraft normally, and run Minecraft with --workDir directed to C:\MC_Root\.
Result details: The Test username (English) is in both Ascii and ANSI sets. This was my control to verify that the testing methodology was sound. In both cases, the client ran normally. The Testö username (Swedish) is not ascii, but is in the ANSI set (alt+0246). In both cases, the client ran normally.
The TestĂ username (Vietnamese) and Testş username (Azerbaijani) are not in the ANSI set. Running with default settings produces the "Could not find or load main class net.minecraft.client.main.Main" error (launcher_log.txt). Running with --workDir C:\MC argument produces the "java.lang.UnsatisfiedLinkError: Failed to locate library: lwjgl.dll" error (crash-2019-01-28_15.04.56-client.txt).
Environment
Windows 10, 1809.
duplicates
You need to create a new Windows username without any special characters, changing your current username DOES NOT work
Windows 7, 8, 8.1: https://support.microsoft.com/en-us/help/13951/windows-create-user-account#create-user-account=windows
*NOTE:* Scroll down for Windows 7 instructions, use the Windows 8.1 instructions for Windows 8
Windows 10: https://support.microsoft.com/en-us/help/4026923/windows-10-create-a-local-user-or-administrator-account
Description from MC-143300 (CapFan):
Testing result Summary: Windows userpaths with non-ANSI characters will result in a client crash. This cannot be fixed with --workDir.
Setup: I created four administrator accounts, Test, Testö, TestĂ, and Testş. Methodology: With each account I attempted to run Minecraft normally, and run Minecraft with --workDir directed to C:\MC_Root\.
Result details: The Test username (English) is in both Ascii and ANSI sets. This was my control to verify that the testing methodology was sound. In both cases, the client ran normally. The Testö username (Swedish) is not ascii, but is in the ANSI set (alt+0246). In both cases, the client ran normally.
The TestĂ username (Vietnamese) and Testş username (Azerbaijani) are not in the ANSI set. Running with default settings produces the "Could not find or load main class net.minecraft.client.main.Main" error (launcher_log.txt). Running with --workDir C:\MC argument produces the "java.lang.UnsatisfiedLinkError: Failed to locate library: lwjgl.dll" error (crash-2019-01-28_15.04.56-client.txt).
---- Minecraft Crash Report ---- // Hi. I'm Minecraft, and I'm a crashaholic. Time: 27.08.18 20:22 Description: Initializing game java.lang.UnsatisfiedLinkError: Failed to locate library: lwjgl.dll at org.lwjgl.system.Library.loadSystem(Library.java:147) at org.lwjgl.system.Library.loadSystem(Library.java:67) at org.lwjgl.system.Library.<clinit>(Library.java:50) at org.lwjgl.system.MemoryUtil.<clinit>(MemoryUtil.java:61) at org.lwjgl.system.MemoryStack.<init>(MemoryStack.java:61) at org.lwjgl.system.MemoryStack.create(MemoryStack.java:82) at org.lwjgl.system.MemoryStack.create(MemoryStack.java:71) at org.lwjgl.system.MemoryStack$$Lambda$809/1436538348.get(Unknown Source) at java.lang.ThreadLocal$SuppliedThreadLocal.initialValue(ThreadLocal.java:284) at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:180) at java.lang.ThreadLocal.get(ThreadLocal.java:170) at org.lwjgl.system.MemoryStack.stackGet(MemoryStack.java:628) at org.lwjgl.system.MemoryStack.stackPush(MemoryStack.java:637) at cgc.a(SourceFile:127) at cfs.an(SourceFile:557) at cfs.am(SourceFile:436) at cfs.a(SourceFile:380) at net.minecraft.client.main.Main.main(SourceFile:144) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at org.lwjgl.system.Library.loadSystem(Library.java:147) at org.lwjgl.system.Library.loadSystem(Library.java:67) at org.lwjgl.system.Library.<clinit>(Library.java:50) at org.lwjgl.system.MemoryUtil.<clinit>(MemoryUtil.java:61) at org.lwjgl.system.MemoryStack.<init>(MemoryStack.java:61) at org.lwjgl.system.MemoryStack.create(MemoryStack.java:82) at org.lwjgl.system.MemoryStack.create(MemoryStack.java:71) at org.lwjgl.system.MemoryStack$$Lambda$809/1436538348.get(Unknown Source) at java.lang.ThreadLocal$SuppliedThreadLocal.initialValue(ThreadLocal.java:284) at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:180) at java.lang.ThreadLocal.get(ThreadLocal.java:170) at org.lwjgl.system.MemoryStack.stackGet(MemoryStack.java:628) at org.lwjgl.system.MemoryStack.stackPush(MemoryStack.java:637) at cgc.a(SourceFile:127) at cfs.an(SourceFile:557) at cfs.am(SourceFile:436) -- Initialization -- Details: Stacktrace: at cfs.a(SourceFile:380) at net.minecraft.client.main.Main.main(SourceFile:144) -- System Details -- Details: Minecraft Version: 1.13.1 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 393038896 bytes (374 MB) / 536870912 bytes (512 MB) up to 2147483648 bytes (2048 MB) JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M Launched Version: 1.13.1 LWJGL: 3.1.6 build 14 OpenGL: ~~ERROR~~ NoClassDefFoundError: Could not initialize class org.lwjgl.system.Library GL Caps: Using VBOs: Yes Is Modded: Probably not. Jar signature remains and client brand is untouched. Type: Client (map_client.txt) Resource Packs: Current Language: ~~ERROR~~ NullPointerException: null Profiler Position: N/A (disabled) CPU: <unknown>
Thank you for your report!
However, this issue is a Duplicate of MCL-9929.
If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
I'm going to copy this description over to that ticket, since the existing one doesn't actually explain why it happens. Thanks for giving some steps to reproduce.
Actually, in addition to that, I'm a bit confused; you say you specified --workDir and it didn't help, but the log says "Work dir is C:\Users\TestĂ\AppData\Roaming\.minecraft". I'm pretty sure that should have changed?
[Mod] Pokechu22, the bug report includes two conditions and two outcomes. One condition is a vanilla state, whereas the other is using --workDir (which should be a workaround for the initial crash, but instead produces a different unexpected error).
Note in the last paragraph, the specific logs are matched to the tests. Your confusion results from mismatching tests and log results. If you'd like more or specific logs, I can happily produce them. Edit: To help clarify things, I've attached both Launcher_log files (with and without the --workDir argument).
My goal here is to focus on the underlying issue: common characters from certain languages prevent the game from running. This results in two distinct outcomes, depending on how the game is run. This bug report illustrates both.
Invalidating and moving my post is certainly fine, as long as we don't lose track of the broader issue and both errors that result (not just the single error listed in the target bug report).