Uploaded image for project: 'Minecraft Launcher'
  1. Minecraft Launcher
  2. MCL-9929

Failed to locate library: lwjgl.dll (caused by non-ANSI characters in usernames)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 2.1.1351 (Windows) / 2.1.1350 (Mac OS) / 2.1.1349 (Linux), 2.1.9616-2.1.9618, 2.1.13827
    • None
    • None
    • Community Consensus
    • 703980

      How to fix

      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>
      

            Unassigned Unassigned
            l_eo Leo
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: