1. Si vous venez d'arriver sur le forum et que vous êtes un peu perdus, cliquez ici !
    Rejeter la notice

Résolu -Djava.library.path

Discussion dans 'Autres' créé par raphaGramming, 24 Jan 2019.

  1. raphaGramming

    raphaGramming Enter the World

    Inscrit:
    1 Août 2018
    Messages:
    49
    Points:
    30
    Sexe:
    Homme
    Bonjour,

    J'ai coder un Launcher qui arrive a télécharger tous les fichiers du jeu, assets, librairies, etc... Mais quand il lance le jeu, il me dit :

    [12:45:26] [Client thread/INFO]: LWJGL Version: 3.1.6 build 14
    [12:45:26] [Client thread/INFO]: [STDERR]: [LWJGL] Failed to load a library. Possible solutions:
    a) Add the directory that contains the shared library to -Djava.library.path or -Dorg.lwjgl.librarypath.
    b) Add the JAR that contains the shared library to the classpath.
    [12:45:26] [Client thread/INFO]: [STDERR]: [LWJGL] Enable debug mode with -Dorg.lwjgl.util.Debug=true for better diagnostics.
    [12:45:26] [Client thread/INFO]: [STDERR]: [LWJGL] Enable the SharedLibraryLoader debug mode with -Dorg.lwjgl.util.DebugLoader=true for better diagnostics.
    ---- Minecraft Crash Report ----
    // Hi. I'm Minecraft, and I'm a crashaholic.
    Time: 24/01/19 12:45
    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 java.lang.ThreadLocal$SuppliedThreadLocal.initialValue(Unknown Source)
    at java.lang.ThreadLocal.setInitialValue(Unknown Source)
    at java.lang.ThreadLocal.get(Unknown Source)
    at org.lwjgl.system.MemoryStack.stackGet(MemoryStack.java:628)
    at org.lwjgl.system.MemoryStack.stackPush(MemoryStack.java:637)
    at cgd.a(SourceFile:127)
    at cft.an(SourceFile:557)
    at cft.am(SourceFile:436)
    at cft.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 java.lang.ThreadLocal$SuppliedThreadLocal.initialValue(Unknown Source)
    at java.lang.ThreadLocal.setInitialValue(Unknown Source)
    at java.lang.ThreadLocal.get(Unknown Source)
    at org.lwjgl.system.MemoryStack.stackGet(MemoryStack.java:628)
    at org.lwjgl.system.MemoryStack.stackPush(MemoryStack.java:637)
    at cgd.a(SourceFile:127)
    at cft.an(SourceFile:557)
    at cft.am(SourceFile:436)


    La ligne de code pour lancer le jeu étant celle ci :

    cd .Thorium/ && java -Xmx8G -Xmn1G -Djava.library.path=natives -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -cp "versions\1.13.2\1.13.2.jar;libraries\com\mojang\patchy\1.1\patchy-1.1.jar;libraries\oshi-project\oshi-core\1.1\oshi-core-1.1.jar;libraries\net\java\dev\jna\jna\4.4.0\jna-4.4.0.jar;libraries\net\java\dev\jna\platform\3.4.0\platform-3.4.0.jar;libraries\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar;libraries\net\sf\jopt-simple\jopt-simple\5.0.3\jopt-simple-5.0.3.jar;libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar;libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;libraries\io\netty\netty-all\4.1.25.Final\netty-all-4.1.25.Final.jar;libraries\com\google\guava\guava\21.0\guava-21.0.jar;libraries\org\apache\commons\commons-lang3\3.5\commons-lang3-3.5.jar;libraries\commons-io\commons-io\2.5\commons-io-2.5.jar;libraries\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;libraries\com\mojang\brigadier\1.0.14\brigadier-1.0.14.jar;libraries\com\mojang\datafixerupper\1.0.19\datafixerupper-1.0.19.jar;libraries\com\google\code\gson\gson\2.8.0\gson-2.8.0.jar;libraries\com\mojang\authlib\1.5.25\authlib-1.5.25.jar;libraries\org\apache\commons\commons-compress\1.8.1\commons-compress-1.8.1.jar;libraries\org\apache\httpcomponents\httpclient\4.3.3\httpclient-4.3.3.jar;libraries\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;libraries\org\apache\httpcomponents\httpcore\4.3.2\httpcore-4.3.2.jar;libraries\it\unimi\dsi\fastutil\8.2.1\fastutil-8.2.1.jar;libraries\org\apache\logging\log4j\log4j-api\2.8.1\log4j-api-2.8.1.jar;libraries\org\apache\logging\log4j\log4j-core\2.8.1\log4j-core-2.8.1.jar;libraries\com\mojang\realms\1.13.9\realms-1.13.9.jar;libraries\org\lwjgl\lwjgl\3.1.6\lwjgl-3.1.6.jar;libraries\org\lwjgl\lwjgl-jemalloc\3.1.6\lwjgl-jemalloc-3.1.6.jar;libraries\org\lwjgl\lwjgl-openal\3.1.6\lwjgl-openal-3.1.6.jar;libraries\org\lwjgl\lwjgl-opengl\3.1.6\lwjgl-opengl-3.1.6.jar;libraries\org\lwjgl\lwjgl-glfw\3.1.6\lwjgl-glfw-3.1.6.jar;libraries\org\lwjgl\lwjgl-stb\3.1.6\lwjgl-stb-3.1.6.jar;libraries\org\lwjgl\lwjgl\3.1.6\lwjgl-3.1.6.jar;libraries\org\lwjgl\lwjgl-jemalloc\3.1.6\lwjgl-jemalloc-3.1.6.jar;libraries\org\lwjgl\lwjgl-openal\3.1.6\lwjgl-openal-3.1.6.jar;libraries\org\lwjgl\lwjgl-opengl\3.1.6\lwjgl-opengl-3.1.6.jar;libraries\org\lwjgl\lwjgl-glfw\3.1.6\lwjgl-glfw-3.1.6.jar;libraries\org\lwjgl\lwjgl-stb\3.1.6\lwjgl-stb-3.1.6.jar;libraries\com\mojang\text2speech\1.10.3\text2speech-1.10.3.jar;libraries\com\mojang\text2speech\1.10.3\text2speech-1.10.3.jar;libraries\ca\weblite\java-objc-bridge\1.0.0\java-objc-bridge-1.0.0.jar;libraries\ca\weblite\java-objc-bridge\1.0.0\java-objc-bridge-1.0.0.jar" net.minecraft.client.main.Main --username ############# --version 1.13.2 --gameDir . --assetsDir assets --assetIndex 1.13.1 --uuid ############################## --accessToken ############################## --userType mojang --versionType release
     
  2. raphaGramming

    raphaGramming Enter the World

    Inscrit:
    1 Août 2018
    Messages:
    49
    Points:
    30
    Sexe:
    Homme
    Problème résolu, si quelqu'un a le même problème, il peut venir de la complexité du fichier version.json, ou le fichier lwjgl-natives.jar n'est pas correctement télécharger.
     

Partager cette page