It is best that you skip the link to the Main-class in the manifest file.
See this , it shows how to properly configure your manifest file.
Enjoy!
EDIT:
Manifest-Version: 1.0 Main-Class: SimpleTest Class-Path: lib/lwjgl.jar lib/slick.jar <-- new line without any content -->
EDIT 2:
OK, I was able to reproduce this behavior. As I tried to run the exported jar through the console, I got the following exception:
Exception in thread "main" java.lang.reflect.InvocationTargetException ... Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path ... ... 5 more
After several studies, I found out that it is hardly possible to pack a native dll into an executable jar.
To clarify, I found three options:
- Just export your jar as a Runnable JAR in Eclipse and after that place it in the folder containing the native DLL (checked this, worked for my installation using your tutorial).
- When executed, unzip your dll into a temporary directory, as indicated here
- Or use the One-Jar project, which allows you to create running banks with native libraries
Hope this solved your problem. Hurrah!
source share