Failed to locate library: lwjgl.dll

Started by Herter, September 10, 2019, 21:15:19

Previous topic - Next topic

Herter

Hi guys

Just came back to lwjgl after some months away. Tried to set up the HelloWorld example, but having some issues with the linking.

I've downloaded the libraries in a zip, unpacked into a "libs" folder in my project and added the folder as a library in IntelliJ.

However I'm getting this error when I'm trying to run the code:

Hello LWJGL 3.2.3 build 13!
[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.
[LWJGL] Enable debug mode with -Dorg.lwjgl.util.Debug=true for better diagnostics.
[LWJGL] Enable the SharedLibraryLoader debug mode with -Dorg.lwjgl.util.DebugLoader=true for better diagnostics.
Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to locate library: lwjgl.dll
	at org.lwjgl.system.Library.loadSystem(Library.java:162)
	at org.lwjgl.system.Library.loadSystem(Library.java:62)
	at org.lwjgl.system.Library.<clinit>(Library.java:50)
	at org.lwjgl.system.MemoryUtil.<clinit>(MemoryUtil.java:97)
	at org.lwjgl.system.Pointer$Default.<clinit>(Pointer.java:67)
	at org.lwjgl.system.Callback.<clinit>(Callback.java:41)
	at HelloWorld.init(HelloWorld.java:37)
	at HelloWorld.run(HelloWorld.java:22)
	at HelloWorld.main(HelloWorld.java:112)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)


What am I doing wrong here? - This should be quick and easy, but I must be missing something obvious here..

Thanks in advance




Herter


spasi

Make sure IntelliJ has added the LWJGL jars (including the -native ones) to the classpath. You can verify this by expanding the JVM launch command in the Run output (click on the gray "C:\Program ...).

If you're still having trouble, attach some screenshots of the IntelliJ project setup. Specifically, the LWJGL library configuration and the module dependencies tab.

Herter

Quote from: spasi on September 11, 2019, 09:12:36
Make sure IntelliJ has added the LWJGL jars (including the -native ones) to the classpath. You can verify this by expanding the JVM launch command in the Run output (click on the gray "C:\Program ...).

If you're still having trouble, attach some screenshots of the IntelliJ project setup. Specifically, the LWJGL library configuration and the module dependencies tab.

Hi thanks for your advice as I hadn't actually checked the classpath. But they seem to all be there and the files do exist in that folder.

Output:
"C:\Program Files\Java\java-se-8u40-ri\bin\java" -Didea.launcher.port=7537 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.0\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\java-se-8u40-ri\jre\lib\charsets.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\jce.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\jsse.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\management-agent.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\resources.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\rt.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\dnsns.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\localedata.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\nashorn.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\sunec.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\zipfs.jar;C:\Dev\lwjgl-test\out\production\lwjgl-test;C:\Dev\lwjgl-test\libs\lwjgl.jar;C:\Dev\lwjgl-test\libs\lwjgl-egl.jar;C:\Dev\lwjgl-test\libs\lwjgl-lz4.jar;C:\Dev\lwjgl-test\libs\lwjgl-nfd.jar;C:\Dev\lwjgl-test\libs\lwjgl-ovr.jar;C:\Dev\lwjgl-test\libs\lwjgl-par.jar;C:\Dev\lwjgl-test\libs\lwjgl-sse.jar;C:\Dev\lwjgl-test\libs\lwjgl-stb.jar;C:\Dev\lwjgl-test\libs\lwjgl-vma.jar;C:\Dev\lwjgl-test\libs\lwjgl-bgfx.jar;C:\Dev\lwjgl-test\libs\lwjgl-cuda.jar;C:\Dev\lwjgl-test\libs\lwjgl-glfw.jar;C:\Dev\lwjgl-test\libs\lwjgl-jawt.jar;C:\Dev\lwjgl-test\libs\lwjgl-llvm.jar;C:\Dev\lwjgl-test\libs\lwjgl-lmdb.jar;C:\Dev\lwjgl-test\libs\lwjgl-meow.jar;C:\Dev\lwjgl-test\libs\lwjgl-odbc.jar;C:\Dev\lwjgl-test\libs\lwjgl-opus.jar;C:\Dev\lwjgl-test\libs\lwjgl-yoga.jar;C:\Dev\lwjgl-test\libs\lwjgl-zstd.jar;C:\Dev\lwjgl-test\libs\lwjgl-assimp.jar;C:\Dev\lwjgl-test\libs\lwjgl-nanovg.jar;C:\Dev\lwjgl-test\libs\lwjgl-openal.jar;C:\Dev\lwjgl-test\libs\lwjgl-opencl.jar;C:\Dev\lwjgl-test\libs\lwjgl-opengl.jar;C:\Dev\lwjgl-test\libs\lwjgl-openvr.jar;C:\Dev\lwjgl-test\libs\lwjgl-tinyfd.jar;C:\Dev\lwjgl-test\libs\lwjgl-tootle.jar;C:\Dev\lwjgl-test\libs\lwjgl-vulkan.jar;C:\Dev\lwjgl-test\libs\lwjgl-xxhash.jar;C:\Dev\lwjgl-test\libs\lwjgl-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-nuklear.jar;C:\Dev\lwjgl-test\libs\lwjgl-shaderc.jar;C:\Dev\lwjgl-test\libs\lwjgl-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-tinyexr.jar;C:\Dev\lwjgl-test\libs\lwjgl-jemalloc.jar;C:\Dev\lwjgl-test\libs\lwjgl-opengles.jar;C:\Dev\lwjgl-test\libs\lwjgl-remotery.jar;C:\Dev\lwjgl-test\libs\lwjgl-rpmalloc.jar;C:\Dev\lwjgl-test\libs\lwjgl-libdivide.jar;C:\Dev\lwjgl-test\libs\lwjgl-egl-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-egl-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-lz4-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-lz4-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-nfd-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-nfd-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-ovr-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-ovr-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-par-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-par-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-sse-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-sse-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-stb-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-stb-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-vma-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-vma-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-bgfx-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-bgfx-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-cuda-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-cuda-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-glfw-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-glfw-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-jawt-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-jawt-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-llvm-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-llvm-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-lmdb-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-lmdb-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-meow-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-meow-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-odbc-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-odbc-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-opus-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-opus-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-yoga-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-yoga-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-zstd-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-zstd-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-assimp-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-assimp-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-nanovg-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-nanovg-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-openal-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-openal-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-opencl-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-opencl-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-opengl-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-opengl-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-openvr-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-openvr-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-tinyfd-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-tinyfd-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-tootle-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-tootle-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-vulkan-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-vulkan-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-xxhash-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-xxhash-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-nuklear-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-nuklear-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-shaderc-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-shaderc-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-tinyexr-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-tinyexr-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-jemalloc-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-jemalloc-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-opengles-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-opengles-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-remotery-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-remotery-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-rpmalloc-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-rpmalloc-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-libdivide-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-libdivide-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-lz4-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-nfd-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-ovr-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-par-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-sse-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-stb-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-vma-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-bgfx-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-glfw-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-llvm-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-lmdb-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-meow-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-opus-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-yoga-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-zstd-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-assimp-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-nanovg-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-openal-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-opengl-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-openvr-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-tinyfd-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-tootle-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-xxhash-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-nuklear-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-shaderc-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-tinyexr-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-jemalloc-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-opengles-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-remotery-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-rpmalloc-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-libdivide-natives-windows.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.0\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain HelloWorld
Hello LWJGL 3.2.3 build 13!
[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.
[LWJGL] Enable debug mode with -Dorg.lwjgl.util.Debug=true for better diagnostics.
[LWJGL] Enable the SharedLibraryLoader debug mode with -Dorg.lwjgl.util.DebugLoader=true for better diagnostics.
Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to locate library: lwjgl.dll
	at org.lwjgl.system.Library.loadSystem(Library.java:162)
	at org.lwjgl.system.Library.loadSystem(Library.java:62)
	at org.lwjgl.system.Library.<clinit>(Library.java:50)
	at org.lwjgl.system.MemoryUtil.<clinit>(MemoryUtil.java:97)
	at org.lwjgl.system.Pointer$Default.<clinit>(Pointer.java:67)
	at org.lwjgl.system.Callback.<clinit>(Callback.java:41)
	at HelloWorld.init(HelloWorld.java:37)
	at HelloWorld.run(HelloWorld.java:22)
	at HelloWorld.main(HelloWorld.java:112)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)

Process finished with exit code 1

spasi

The configuration looks OK. What's the output with -Dorg.lwjgl.util.Debug=true -Dorg.lwjgl.util.DebugLoader=true?

Herter

Quote from: spasi on September 11, 2019, 22:19:28
The configuration looks OK. What's the output with -Dorg.lwjgl.util.Debug=true -Dorg.lwjgl.util.DebugLoader=true?

"C:\Program Files\Java\java-se-8u40-ri\bin\java" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:50275,suspend=y,server=n -Dorg.lwjgl.util.Debug=true -Dorg.lwjgl.util.DebugLoader=true -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\java-se-8u40-ri\jre\lib\charsets.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\jce.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\jsse.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\management-agent.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\resources.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\rt.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\dnsns.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\localedata.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\nashorn.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\sunec.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\java-se-8u40-ri\jre\lib\ext\zipfs.jar;C:\Dev\lwjgl-test\out\production\lwjgl-test;C:\Dev\lwjgl-test\libs\lwjgl.jar;C:\Dev\lwjgl-test\libs\lwjgl-egl.jar;C:\Dev\lwjgl-test\libs\lwjgl-lz4.jar;C:\Dev\lwjgl-test\libs\lwjgl-nfd.jar;C:\Dev\lwjgl-test\libs\lwjgl-ovr.jar;C:\Dev\lwjgl-test\libs\lwjgl-par.jar;C:\Dev\lwjgl-test\libs\lwjgl-sse.jar;C:\Dev\lwjgl-test\libs\lwjgl-stb.jar;C:\Dev\lwjgl-test\libs\lwjgl-vma.jar;C:\Dev\lwjgl-test\libs\lwjgl-bgfx.jar;C:\Dev\lwjgl-test\libs\lwjgl-cuda.jar;C:\Dev\lwjgl-test\libs\lwjgl-glfw.jar;C:\Dev\lwjgl-test\libs\lwjgl-jawt.jar;C:\Dev\lwjgl-test\libs\lwjgl-llvm.jar;C:\Dev\lwjgl-test\libs\lwjgl-lmdb.jar;C:\Dev\lwjgl-test\libs\lwjgl-meow.jar;C:\Dev\lwjgl-test\libs\lwjgl-odbc.jar;C:\Dev\lwjgl-test\libs\lwjgl-opus.jar;C:\Dev\lwjgl-test\libs\lwjgl-yoga.jar;C:\Dev\lwjgl-test\libs\lwjgl-zstd.jar;C:\Dev\lwjgl-test\libs\lwjgl-assimp.jar;C:\Dev\lwjgl-test\libs\lwjgl-nanovg.jar;C:\Dev\lwjgl-test\libs\lwjgl-openal.jar;C:\Dev\lwjgl-test\libs\lwjgl-opencl.jar;C:\Dev\lwjgl-test\libs\lwjgl-opengl.jar;C:\Dev\lwjgl-test\libs\lwjgl-openvr.jar;C:\Dev\lwjgl-test\libs\lwjgl-tinyfd.jar;C:\Dev\lwjgl-test\libs\lwjgl-tootle.jar;C:\Dev\lwjgl-test\libs\lwjgl-vulkan.jar;C:\Dev\lwjgl-test\libs\lwjgl-xxhash.jar;C:\Dev\lwjgl-test\libs\lwjgl-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-nuklear.jar;C:\Dev\lwjgl-test\libs\lwjgl-shaderc.jar;C:\Dev\lwjgl-test\libs\lwjgl-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-tinyexr.jar;C:\Dev\lwjgl-test\libs\lwjgl-jemalloc.jar;C:\Dev\lwjgl-test\libs\lwjgl-opengles.jar;C:\Dev\lwjgl-test\libs\lwjgl-remotery.jar;C:\Dev\lwjgl-test\libs\lwjgl-rpmalloc.jar;C:\Dev\lwjgl-test\libs\lwjgl-libdivide.jar;C:\Dev\lwjgl-test\libs\lwjgl-egl-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-egl-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-lz4-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-lz4-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-nfd-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-nfd-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-ovr-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-ovr-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-par-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-par-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-sse-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-sse-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-stb-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-stb-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-vma-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-vma-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-bgfx-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-bgfx-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-cuda-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-cuda-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-glfw-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-glfw-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-jawt-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-jawt-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-llvm-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-llvm-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-lmdb-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-lmdb-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-meow-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-meow-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-odbc-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-odbc-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-opus-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-opus-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-yoga-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-yoga-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-zstd-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-zstd-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-assimp-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-assimp-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-nanovg-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-nanovg-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-openal-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-openal-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-opencl-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-opencl-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-opengl-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-opengl-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-openvr-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-openvr-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-tinyfd-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-tinyfd-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-tootle-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-tootle-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-vulkan-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-vulkan-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-xxhash-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-xxhash-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-nuklear-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-nuklear-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-shaderc-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-shaderc-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-tinyexr-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-tinyexr-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-jemalloc-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-jemalloc-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-opengles-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-opengles-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-remotery-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-remotery-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-rpmalloc-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-rpmalloc-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-libdivide-javadoc.jar;C:\Dev\lwjgl-test\libs\lwjgl-libdivide-sources.jar;C:\Dev\lwjgl-test\libs\lwjgl-lz4-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-nfd-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-ovr-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-par-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-sse-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-stb-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-vma-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-bgfx-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-glfw-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-llvm-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-lmdb-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-meow-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-opus-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-yoga-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-zstd-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-assimp-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-nanovg-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-openal-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-opengl-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-openvr-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-tinyfd-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-tootle-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-xxhash-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-nuklear-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-shaderc-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-tinyexr-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-jemalloc-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-opengles-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-remotery-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-rpmalloc-natives-windows.jar;C:\Dev\lwjgl-test\libs\lwjgl-libdivide-natives-windows.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.0\lib\idea_rt.jar" HelloWorld
Connected to the target VM, address: '127.0.0.1:50275', transport: 'socket'
Hello LWJGL 3.2.3 build 13!
[LWJGL] Version: 3.2.3 build 13
[LWJGL] 	 OS: Windows 8.1 v6.3
[LWJGL] 	JRE: 1.8.0_40 x86
[LWJGL] 	JVM: OpenJDK Client VM v25.40-b25 by Oracle Corporation
[LWJGL] Loading JNI library: lwjgl
[LWJGL] 	Module: org.lwjgl
[LWJGL] 	windows/x86/org/lwjgl/lwjgl.dll not found in java.library.path=C:\Program Files\Java\java-se-8u40-ri\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Java\jdk1.7.0_55\bin;C:\Program Files (x86)\Android\android-sdk\tools;C:\Program Files (x86)\Android\android-sdk\platform-tools;C:\apache-ant-1.9.3\bin;C:\Program Files (x86)\nodejs\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files\dotnet\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Autodesk\Backburner\;C:\Apps\apache-maven-3.5.0\bin;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Android;C:\Windows\System32;C:\Users\Tórhallur\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc1-update2\bin;C:\Users\Tórhallur\.dnx\bin;C:\Users\Tórhallur\AppData\Roaming\npm;C:\Users\Tórhallur\AppData\Local\Microsoft\WindowsApps;C:\Program Files\apache-maven-3.5.0\bin;;.
[LWJGL] 	lwjgl.dll not found in java.library.path
[LWJGL] Failed to load a library. Possible solutions:
Disconnected from the target VM, address: '127.0.0.1:50275', transport: 'socket'
	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.
Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to locate library: lwjgl.dll
	at org.lwjgl.system.Library.loadSystem(Library.java:162)
	at org.lwjgl.system.Library.loadSystem(Library.java:62)
	at org.lwjgl.system.Library.<clinit>(Library.java:50)
	at org.lwjgl.system.MemoryUtil.<clinit>(MemoryUtil.java:97)
	at org.lwjgl.system.Pointer$Default.<clinit>(Pointer.java:67)
	at org.lwjgl.system.Callback.<clinit>(Callback.java:41)
	at HelloWorld.init(HelloWorld.java:37)
	at HelloWorld.run(HelloWorld.java:22)
	at HelloWorld.main(HelloWorld.java:112)

Process finished with exit code 1

KaiHH

You seem to be running a 32-bit JVM. Therefore you need the lwjgl-*-natives-windows-x86.jar files.

Herter

Quote from: KaiHH on September 12, 2019, 10:21:08
You seem to be running a 32-bit JVM. Therefore you need the lwjgl-*-natives-windows-x86.jar files.

ah..  thank you :) - that was the issue! It works now