I have a java game using lwjgl and slick-util. It works perfectly on my computer, but not on anyone else's. It's packaged in a jar. I created the jar using Eclipse and sealed the natives and libraries with Jarsplice. The base Jar folder contains only package directories and natives, no manifests or classpaths. The game itself is not an Applet.
From my computer, this jar works and runs the game perfect. With anyone else's, it crashes as soon as the Display class is called in the main code (leaves an empty frame with the basic java name and icon and gray inner window). I have packed both the 32-bit and and the 64-bit natives and tested it on 32 bit and 64 bit windows systems alike, but the only one which runs it is mine (windows 32 bit).
The jar does not have a classpath or manifest in the base folder.
I renamed my eclipse build referenced folders, including the natives folder before running the jar, and it still worked. I do not have the natives anywhere else.
Here is the META-INF/MANIFEST.MF from within the jar. Note that the jar doesn't work on my computer either when I remove the Main-Class line. The class being referenced IS within the Jar.
Manifest-Version: 1.0
Launcher-VM-Args:
Launcher-Main-Class: processors.Main
Main-Class: org.ninjacave.jarsplice.core.JarSpliceLauncher
Here is the directory structure within the jar:
META-INF
org
game packages including processors
all the natives.dll
Update: I have definately narrowed it down to the natives ONLY being detected by my machine, probably due to something I have installed. Maybe I'm missing something?