Skip to content

Fails to launch - libgdx: UnsatisfiedLinkError with Unicode Windows user name #54

@Luashine

Description

@Luashine

RMS cannot be started when the Windows user name contains non-ASCII characters.

Image
java.lang.UnsatisfiedLinkError: C:\Users\admin\AppData\Local\Temp\libgdx??-????????\1cecf4f6\lwjgl64.dll: Can't find dependent libraries

JVisualVM shows that JVM is started with these properties by default on a Windows 10 English system:

file.encoding=UTF-8
java.vendor.version=Temurin-21.0.7+6
java.version=21.0.7
native.encoding=Cp1252
stderr.encoding=cp437
stdout.encoding=cp437
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=Cp1252

I will update this if the UTF-8 system-wide workaround works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions