>> I am trying to run my JNI code using JUnit within Ant on Solaris >> 5.8. However, it fails to load my shared object and gives me this >> error message. >> >> Can't load Sparc v9 64-bit .so on a Sparc 32-bit platform >> > >> How is it trying to run on the 32 bit mode while I am trying to run >> on the 64 bit mode? Is there something I need to set in my Ant >> script? > >Sounds like the VM is defaulting to 32-bit mode. If you are launching >a standalone VM for your JUnit tests, try adding the "-d64" command >line option. > >If you are running the JUnit tests inside of Ant, add the "-d64" >option to the ANT_OPTS env. variable before starting Ant.
Sounds like http://www.jguru.com/forums/view.jsp?EID=1345641 Jan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
