Win7 64-bit.
java.lang.UnsatisfiedLinkError: C:\Users\Mads Horndrup\Downloads\loderunner\LodeRunner\native\lwjgl.dll: Can’t load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.lwjgl.Sys$1.run(Sys.java:73)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:82)
at org.lwjgl.Sys.(Sys.java:99)
at Game.(Game.java:70)
Could not find the main class: Game. Program will exit.
Exception in thread “main”
Filesize Would be around 6 MB. The actual java classes are only 92 KB, feels wrong to have such a large file for such a small game.
I’ll create downloads for all different platforms, like puppy does.
Hmm, something can’t find the LodeRunner ‘main’ maybe?
I used a copy of the spaceinvaders tutorial by Kevin Glass ( public static void main(String argv[]) ).
I’ve now changed it to ‘public static void main(String[] args)’.
the reason why it fails for princec above is because you’ve split the 32bit and 64bit natives, LWJGL tries to load the 32bit natives first, if that fails, it then loads the 64bit natives. Since it doesn’t find the 32bit natives at all on windows64 it assumes that all natives are missing and fails.
What would be a better idea is to bundle 32 and 64 bit natives together and just have a bundle for each platform (windows, linux, mac and solaris). Its such a small overhead that it hardly matters on today’s computers and internet speeds.
Yeh, LWJGL shouldn’t really require the 64bit natives and 32bit natives to function on 64bit systems. However there is a patch on the LWJGL forums that could potentially change this in future releases.
The above uploaded applet still shows the old error, so I guess its not updated yet, can you please paste more of the java console output of the error or update the above uploaded applet.