On Sunday, January 15, 2012 10:17:28 PM mortimmer [via jogamp] wrote:
>
> Hi guys,
>
> I'm trying to run a small JOGL application like this:
>
> java -classpath
> ".;..\jars\gluegen-rt.jar;..\jars\gluegen-rt-natives-windows-i586.jar;..\jars\jogl.all.jar;..\jars\jogl-all-natives-windows-i586.jar"
> HelloJOGL
>
> As you can see I added the lib jars to the classpath. What I get is a
> FileNotFoundException on gluegen-rt-natives-windows-amd64.jar.
>
1st of all, you don't need to add the native JARs to your CP,
actually you should not.
http://forum.jogamp.org/setting-up-JOGL-in-Eclipse-on-Mac-OSX-Lion-Frustration-td3435692.html#a3436274> Is this a property somewhere that needs to be set to the i586 jar?
Derived from the running JVM's OS and ARCH sys props, so they shouldn't
be of a 64bit machine one a 32bit machine.
http://jogamp.org/git/?p=gluegen.git;a=blob;f=src/java/com/jogamp/common/os/Platform.java;hb=HEAD#l155http://jogamp.org/git/?p=gluegen.git;a=blob;f=src/java/com/jogamp/common/os/Platform.java;hb=HEAD#l439Hence, "os.arch" must have been "x86_64" on your system.
~Sven