So the weird part is that its only on certain computers. Runs fine on some machines, fails on others giving:
"an error ocurred while loading the applet. Please contact support to resolve this issue. This occered while 'Downloading packages'"
The package in question is jogg-0.0.7 and/or jorbis-0.0.15 (Because the game loads fine on all machines when I remove the music.)
With the java console enabled, the applet loader gives this stack trace:
Code:
invalid entry size (expected 237633544 but got 0 bytes)
java.util.zip.ZipException: invalid entry size (expected 237633544 but got 0 bytes)
at java.util.zip.ZipInputStream.readEnd(Unknown Source)
at java.util.zip.ZipInputStream.read(Unknown Source)
at com.sun.deploy.net.HttpDownloadHelper.decompressWrite(Unknown Source)
at com.sun.deploy.net.HttpDownloadHelper.download(Unknown Source)
at com.sun.deploy.cache.Cache$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.cache.Cache.downloadResourceToCache(Unknown Source)
at com.sun.deploy.cache.DeployFileOutputStream.close(Unknown Source)
at java.io.FilterOutputStream.close(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.close(Unknown Source)
at org.lwjgl.util.applet.AppletLoader.downloadJars(AppletLoader.java:1501)
at org.lwjgl.util.applet.AppletLoader.run(AppletLoader.java:874)
at java.lang.Thread.run(Unknown Source)
I'm using the jogg-0.0.7 and jorbis-0.0.15 that came from the slick package. My best guess is some sort of signing issue? Do I need to resign the libraries?
Here's some other details that may not be important:
-I have jogg and jorbis linked up as a referenced library and in the lib folder, but they don't have a native library, though I'm pretty sure I don't need it.
-So far all test subjects are using windows.
-Heres the HTML code:
Code:
<applet code="org.lwjgl.util.applet.AppletLoader"
archive="lwjgl_util_applet.jar"
codebase="."
width="800" height="480"
align="center">
<param name="al_title" value="cat">
<param name="al_main" value="org.newdawn.slick.AppletGameContainer">
<param name="game" value="GameClasses.GameHarness">
<param name="al_jars" value="cat.jar, lwjgl.jar, lwjgl_applet.jar, lwjgl_util_applet.jar, slick.jar, slick-util.jar, jogg-0.0.7.jar, jorbis-0.0.15.jar">
<param name="al_windows" value="windows_natives.jar">
<param name="al_linux" value="linux_natives.jar">
<param name="al_mac" value="macosx_natives.jar">
<!-- whether to run in debug mode -->
<param name="al_debug" value="true">
<param name="separate_jvm" value="true">
</applet>
When I take out the sound jars, (jogg and jorb) the game works fine on all computers.
Keep in mind, sound works on certain machines. Any ideas?