My app uses OpenAL with SWT, no OpenGL graphics involved.
The app works fine from Eclipse / Command line, but deployment with web start fails.
More precisely,
- sun-6-openjdk -> OK
- sun-6-jre -> UnsatisfiedLinkError: no lwjgl in java.library.path
Linux (32bit Ubuntu 11.04) + Firefox (openjdk) -> OK
Win XP (Sun's JRE) -> Fails
LWJGL 2.8.2
Using javaws -verbose with openjdk shows that the native libraries load fine (from a jar).
Any ideas? Probably it's not a bug - at least not on behalf of LWJGL, but around last year when I first played around with LWJGL it played well with javaws.
Relevant part from my jnlp:
(Class-Path in MyApp.jar's manifest is empty - I don't know if it's relevant).
<resources>
<j2se version="1.6+" />
<extension href="swt.jnlp" />
<jar href="MyApp.jar" main="true"/>
<jar href="lib/lwjgl/lwjgl-2.8.2.jar" />
<jar href="lib/lwjgl/lwjgl-2.8.2-util.jar" />
</resources>
<resources os="Windows" >
<jar href="lib/lwjgl/lwjgl-2.8.2-win.jar"/>
</resources>
<resources os="Linux" >
<jar href="lib/lwjgl/lwjgl-2.8.2-linux.jar"/>
</resources>