There are several ways to bundle native libraries in eclipse.
I mean, native libraries can be bundled in jar file.
1. Follow standard native library structure like below:
os/
win32/
x86/
x86_64/
macosx/
x86_64/
You can find out valid OS name and Architecture Names as constant fields in Platform class.
2. Use OSGI manifest mechanism.
in manifest.mf, insert Bundle-NativeCode declarations like this:
Bundle-NativeCode: native/windows/myDll.dll; osname=Win32; processor=x86
3. Use Equinox mechanism. (like SWT does)
Create plugin project without libraries.
and create plugin fragment projects for each os and architecture, and configure Platform Filter like this:
os=Win32, processor=x86 (LDAP String)
Then, user don't have to configure their library path to execute plugins which uses LWJGL.