Hey all,
I've been using libGDX to deploy as an applet and webstart (and to Android, but that doesn't matter to my question).
On Java 6, everything works fine as both an applet and webstart.
However, after upgrading to Java 7, I get an Exception when I try to run it as an applet- either from the webpage, or from eclipse directly. The Exception stack trace is as follows:
org.lwjgl.LWJGLException: Could not locate OpenAL library.
at org.lwjgl.openal.AL.create(AL.java:151)
at org.lwjgl.openal.AL.create(AL.java:102)
at org.lwjgl.openal.AL.create(AL.java:201)
at com.badlogic.gdx.backends.openal.OpenALAudio.<init>(OpenALAudio.java:69)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.<init>(LwjglApplication.java:78)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.<init>(LwjglApplication.java:67)
at com.badlogic.gdx.backends.lwjgl.LwjglApplet$LwjglAppletApplication.<init>(LwjglApplet.java:34)
at com.badlogic.gdx.backends.lwjgl.LwjglApplet$2.addNotify(LwjglApplet.java:72)
at java.awt.Container.addNotify(Container.java:2769)
at java.awt.Panel.addNotify(Panel.java:87)
at java.awt.Container.addImpl(Container.java:1114)
at java.awt.Container.add(Container.java:431)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:769)
at sun.applet.AppletPanel.run(AppletPanel.java:379)
at java.lang.Thread.run(Thread.java:722)
The latest applet that this affects is here:
http://staticvoidgames.com/play/?game=SumoBounce&view=appletAnd the webstart version of that same exact code, which works fine on both Java 6 and 7, is here:
http://staticvoidgames.com/play/?game=SumoBounce&view=webstartI've tested this on various computers, as well as had other people test it. Running the applet works fine on Java 6, but throws the above Exception after upgrading the same machine to Java 7.
Is this a known issue, or a symptom of me doing something dumb? I can provide code, but I'm not doing anything too crazy, plus that Exception doesn't mention any of my code.
As always, I appreciate any help you can give me.