java.lang.RuntimeException: Failed to extract jemalloc library

Stack Overflow | user341450 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.RuntimeException

    Failed to locate resource: jemalloc.dll

    at org.lwjgl.system.SharedLibraryLoader.extractFile()
  2. org.lwjgl.system
    JEmalloc.<clinit>
    1. org.lwjgl.system.SharedLibraryLoader.extractFile(SharedLibraryLoader.java:80)
    2. org.lwjgl.system.SharedLibraryLoader.load(SharedLibraryLoader.java:63)
    3. org.lwjgl.system.Library.loadNative(Library.java:139)
    4. org.lwjgl.system.jemalloc.JEmalloc.<clinit>(JEmalloc.java:37)
    4 frames
  3. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:264)
    2 frames
  4. org.lwjgl.system
    APIUtil.apiArrayi
    1. org.lwjgl.system.MemoryManage.getInstance(MemoryManage.java:36)
    2. org.lwjgl.system.MemoryUtil$LazyInit.<clinit>(MemoryUtil.java:76)
    3. org.lwjgl.system.MemoryUtil.nmemAlloc(MemoryUtil.java:162)
    4. org.lwjgl.system.MemoryUtil.memAlloc(MemoryUtil.java:180)
    5. org.lwjgl.system.MemoryUtil.memUTF8(MemoryUtil.java:1530)
    6. org.lwjgl.system.APIUtil.apiArrayi(APIUtil.java:430)
    6 frames
  5. Lighweight Java Game Library
    GL20.glShaderSource
    1. org.lwjgl.opengl.GL20.glShaderSource(GL20.java:425)
    1 frame
  6. projectBlackSpaceApp
    Main.main
    1. projectBlackSpaceApp.Shaders.init(Shaders.java:29)
    2. projectBlackSpaceApp.Main.run(Main.java:123)
    3. projectBlackSpaceApp.Main.init(Main.java:82)
    4. projectBlackSpaceApp.Main.main(Main.java:195)
    4 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  8. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame