I’m trying to get my applet to work on game jolt. I put in all the required parameters, uploaded all the necessary files, but I get this:
[quote]An error has occured while loading the applet.
Please contact support to resolve this issue.
This occurred while ‘Extracting downloaded packages’
[/quote]
I think it’s a problem with the native jars, because it always throws that error right after loading windows_natives.jar. I’m using the native jars from the lwjgl applet package. I first tried uploading them as is, and then I tried signing them myself. Here’s the code that gamejolt is using:
<applet code="org.lwjgl.util.applet.AppletLoader" archive="lwjgl_util_applet.jar" codebase="/data/games/7327/files/" width="640" height="480">
<param name="al_title" value="Voxel Editor">
<param name="al_main" value="com.tenwholeducks.voxeleditor.VoxelEditor">
<param name="al_linux" value="linux_natives.jar">
<param name="al_windows" value="windows_natives.jar">
<param name="al_jars" value="lwjgl.jar, lwjgl_util.jar, voxeleditor.jar">
<param name="al_mac" value="macosx_natives.jar">
<param name="al_solaris" value="solaris_natives.jar">
<param name="gjapi_username" value="RylandAlmanza">
<param name="gjapi_token" value="34e820">
<p>You need Java installed to play this game.
You may use the button below to get it.</p>
<a href="http://java.com/download" onclick="window.open( this.href ); return false">
<img src="http://java.com/en/img/everywhere/getjava_lg.gif" alt="Get Java" style="border-style: none">
</a>
</applet>
And, of course, a stack trace says that the signatures aren’t valid:
java.lang.SecurityException: invalid SHA1 signature file digest for OpenAL32.dll
at sun.security.util.SignatureFileVerifier.verifySection(Unknown Source)
at sun.security.util.SignatureFileVerifier.processImpl(Unknown Source)
at sun.security.util.SignatureFileVerifier.process(Unknown Source)
at java.util.jar.JarVerifier.processEntry(Unknown Source)
at java.util.jar.JarVerifier.update(Unknown Source)
at java.util.jar.JarFile.initializeVerifier(Unknown Source)
at java.util.jar.JarFile.getInputStream(Unknown Source)
at org.lwjgl.util.applet.AppletLoader.extractNatives(AppletLoader.java:1799)
at org.lwjgl.util.applet.AppletLoader.run(AppletLoader.java:880)
at java.lang.Thread.run(Unknown Source)
Any help would be appreciated, thanks!