![]() |
JNI 64bit JVM, load 32bit native library
Is it possible to load a 32bit native library (linux.so) using a 64bit
version of Java? Thanks, -Mark |
Re: JNI 64bit JVM, load 32bit native library
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 mark.faine@gmail.com wrote: > Is it possible to load a 32bit native library (linux.so) using a 64bit > version of Java? > > Thanks, > -Mark |
Re: JNI 64bit JVM, load 32bit native library
mark.faine@gmail.com wrote:
> 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 |
Re: JNI 64bit JVM, load 32bit native library
mark.faine@gmail.com wrote:
> 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. -- 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 |
Quote:
|
| All times are GMT. The time now is 05:55 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.