Is it possible to load a 32bit native library (linux.so) using a 64bit
version of Java?
Thanks,
-Mark
mark.faine@gmail.com - 03 Aug 2006 15:25 GMT
If this is not possible, which at this point, I believe it is not. How
do I build a 32 bit version of JSVC on AMD_64 Linux?
Thanks,
-Mark
> Is it possible to load a 32bit native library (linux.so) using a 64bit
> version of Java?
>
> Thanks,
> -Mark
Patricia Shanahan - 04 Aug 2006 15:48 GMT
> Is it possible to load a 32bit native library (linux.so) using a 64bit
> version of Java?
I've never tried to mix sizes, so this is just an idea on general
principles.
Have you considered writing a 64 bit wrapper library, in e.g. C, that
interfaces to the 32 bit native library?
Patricia
Nigel Wade - 04 Aug 2006 17:21 GMT
> Is it possible to load a 32bit native library (linux.so) using a 64bit
> version of Java?
I'm pretty sure you cannot mix 32bit and 64bit binaries, they will not co-exist.
It is possible to run 32bit executables on a 64it platform, however. If the
platform is AMD64 or EMT64 then it should cause no problems at all. All you
would need is to install a 32bit JRE.

Signature
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555