Problem with Windows 7 64 bit - wrong binaries?

  3 posts   Feedicon  
Replies: 2 - Last Post: January 10, 2010 19:43
by: Michael Bien
showing 1 - 3 of 3
 
Posted: January 08, 2010 12:29 by Fabrizio Giudici
Hello to everybody.

I'm testing an application with the NOGL Pack and so far it worked fine in a number of environments (Mac OS X, Linux, Solaris). I've just installed Windows 7 64bit and I don't see the 3D stuff where it should be.

Looking at the logs, I see:

[INFO] -------------------------------------------------------------------------------
[INFO] INFO [net.java.nativelibsupport.NativeLibSupport]: copy CHmmmProjects/forceTen/src/application/target/forceten/extra/gluegen-runtime/gluegen-rt.jar-natives-windows-i586/gluege
n-rt.dll to CHmmmProjects/forceTen/src/application/target/forceten/extra/modules/lib
[INFO] INFO [net.java.nativelibsupport.NativeLibSupport]: deployed gluegen-rt.jar version: 1.0b6
[INFO] INFO [net.java.nativelibsupport.NativeLibSupport]: copy CHmmmProjects/forceTen/src/application/target/forceten/extra/jogl-runtime/jogl.jar-natives-windows-i586/jogl_cg.dll to
CHmmmProjects/forceTen/src/application/target/forceten/extra/modules/lib
[INFO] INFO [net.java.nativelibsupport.NativeLibSupport]: copy CHmmmProjects/forceTen/src/application/target/forceten/extra/jogl-runtime/jogl.jar-natives-windows-i586/jogl_awt.dll to
CHmmmProjects/forceTen/src/application/target/forceten/extra/modules/lib
[INFO] INFO [net.java.nativelibsupport.NativeLibSupport]: copy CHmmmProjects/forceTen/src/application/target/forceten/extra/jogl-runtime/jogl.jar-natives-windows-i586/jogl.dll to CHmmm
Projects/forceTen/src/application/target/forceten/extra/modules/lib
[INFO] INFO [net.java.nativelibsupport.NativeLibSupport]: deployed jogl.jar version: 1.1.1a


I think it's wrong, as i586 is the 32bit stuff, right? Shouldn't it be ...-windows-amd64?

Thanks.
 
Posted: January 08, 2010 14:02 by Michael Bien
Hi Fabrizio,

thanks for reporting, ill take a look on sunday - should be easy to fix.

-michael
 
Posted: January 10, 2010 19:43 by Michael Bien
Hi,
I couldn't reproduce the issue on win7. I tried it with a 64bit JVM and a 32bit JVM and it worked in both cases.

tested with Pack 0.5.5 (c72988bc943e0d1fce8bbb418a4fb9680687b345) 8/8/09 since it is the last release which used JOGL 1.x.

here the log of the 64bit run:
INFO [net.java.nativelibsupport.NativeLibSupport]: copy E:/netbeans-opengl-pack/build/cluster/gluegen-runtime/gluegen-rt.jar-natives-windows-amd64/gluegen-rt.dll to E:/netbeans-opengl-pack/build/cluster/modules/lib

INFO [net.java.nativelibsupport.NativeLibSupport]: deployed gluegen-rt.jar version: 1.0b6

INFO [net.java.nativelibsupport.NativeLibSupport]: copy E:/netbeans-opengl-pack/build/cluster/jogl-runtime/jogl.jar-natives-windows-amd64/jogl_cg.dll to E:/netbeans-opengl-pack/build/cluster/modules/lib

INFO [net.java.nativelibsupport.NativeLibSupport]: copy E:/netbeans-opengl-pack/build/cluster/jogl-runtime/jogl.jar-natives-windows-amd64/jogl.dll to E:/netbeans-opengl-pack/build/cluster/modules/lib

INFO [net.java.nativelibsupport.NativeLibSupport]: copy E:/netbeans-opengl-pack/build/cluster/jogl-runtime/jogl.jar-natives-windows-amd64/jogl_awt.dll to E:/netbeans-opengl-pack/build/cluster/modules/lib

INFO [net.java.nativelibsupport.NativeLibSupport]: deployed jogl.jar version: 1.1.1a
jar:file:/C:/Program%20Files/Java/jdk1.6.0_16/jre/lib/rt.jar!/com/sun/xml/internal/bind/v2/runtime/JAXBContextImpl.class Build-Id: 1.6.0_16


however the native lib support module does not support yet upgrades from 32bit -> 64bit architectures which means if you would permanently switch between 32 and 64 bit JVMs while using the same netbeans home folder it would not get noticed and the wrong natives would be used.

What does System.getProperty("os.arch"); return on your system?

the pattern used for lib deployment on windows:
    <ns0:os folder='-natives-windows' regex='^(?i)windows'>
        <ns0:cpu folder='-amd64' regex='^(?i)amd|x64|x86_64$'/>
        <ns0:cpu folder='-i586' regex='^(?i)i?+[3-9|x]86$'/>
    </ns0:os>


best regards,
michael
Replies: 2 - Last Post: January 10, 2010 19:43
by: Michael Bien
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close