32bit - 64bit mixup

Hi

I’m trying to build a JOGL test program using Eclipse. I have a 64bit laptop, using the 64bit Java sdk/jre and calling the 64bit native dlls but when I run the program I get the following exception.

Why it is complaining that it is not a valid Win32 app I do not know.

If anyone else struggled with this and found an answer I’d be glad to hear from you.

Thanks

Graham

Exception in thread “main” java.lang.UnsatisfiedLinkError: C:\JOGLTest\dlls\64bit\gluegen-rt.dll: %1 is not a valid Win32 application
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 com.jogamp.gluegen.runtime.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:102)
at com.jogamp.gluegen.runtime.NativeLibLoader.access$000(NativeLibLoader.java:51)
at com.jogamp.gluegen.runtime.NativeLibLoader$1.run(NativeLibLoader.java:70)
at java.security.AccessController.doPrivileged(Native Method)
at com.jogamp.gluegen.runtime.NativeLibLoader.loadGlueGenRT(NativeLibLoader.java:68)
at com.jogamp.common.jvm.JVMUtil.<clinit>(JVMUtil.java:56)
at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:1116)
at JOGLTest.main(JOGLTest.java:294)

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.