java -Djava.library.path="libs/" -jar abacus.jar -XStartOnFirstThread
First of all, the above should read:
java -Djava.library.path="libs/" -XstartOnFirstThread -jar abacus.jar
Everything after "-jar thejar.jar" will be treated as program command line argument passed on main(String[] args) and not as java launcher argument, so it will not be effective with your call.
Next:
In the "libs" folder I have the following:
jorbis-0.0.17.jar
lwjgl-3.1.6.jar
lwjgl-3.1.6-natives-macos.jar
lwjgl-glfw-3.1.6.jar
lwjgl-glfw-natives-macos.jar
lwjgl-openal-3.1.6.jar
lwjgl-openal-natives-macos.jar
lwjgl-opengl-3.1.6.jar
lwjgl-opengl-natives-macos.jar
And my manifest:
Manifest-Version: 1.0
Class-Path: libs/lwjgl-3.1.6.jar libs/lwjgl-glfw-3.1.6.jar libs/lwjgl-
openal-3.1.6.jar libs/lwjgl-opengl-3.1.6.jar libs/lwjgl-3.1.6-natives
-macos.jar libs/lwjgl-glfw.3.1.6-natives-macos.jar libs/lwjgl-openal.
3.1.6-natives-macos.jar libs/lwjgl-opengl.3.1.6-natives-macos.jar lib
s/jorbis-0.0.17.jar
Main-Class: main.AbacusLauncher
Many of your classpath entries do not match the file in the file system directory.
For example:
- the file says: libs/lwjgl-openal-natives-macos.jar but the classpath entry says: libs/lwjgl-openal.3.1.6-natives-macos.jar
- the file says: libs/lwjgl-glfw-natives-macos.jar but the classpath entry says: libs/lwjgl-glfw.3.1.6-natives-macos.jar
- the file says: libs/lwjgl-opengl-natives-macos.jar but the classpath entry says: libs/lwjgl-opengl.3.1.6-natives-macos.jar