Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2006

Tip: Looking for answers? Try searching our database.

JNI 64bit JVM, load 32bit native library

Thread view: 
mark.faine@gmail.com - 03 Aug 2006 14:14 GMT
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



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.