ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Problem running junit on Solaris 64 bit
Date Mon, 27 Aug 2007 04:56:08 GMT
>> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message