<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JNI issue: Problem loading a 64 bit shared library in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/jni-issue-problem-loading-a-64-bit-shared-library/m-p/3754780#M101684</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;Linking 32-bit and 64-bit object files (.o, .sl, .a) together is not supported. All modules in a program must be linked from either 32-bit objects or 64-bit objects.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                   Steve STeel</description>
    <pubDate>Mon, 20 Mar 2006 10:20:05 GMT</pubDate>
    <dc:creator>Steve Steel</dc:creator>
    <dc:date>2006-03-20T10:20:05Z</dc:date>
    <item>
      <title>JNI issue: Problem loading a 64 bit shared library</title>
      <link>https://community.hpe.com/t5/operating-system-linux/jni-issue-problem-loading-a-64-bit-shared-library/m-p/3754778#M101682</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;    I have a Java application that is compiled and running on an HP itanium box.  This application (which is a product from HP) has been compiled using Itanium 32-bit JDK binaries (found under JAVA_HOME/bin/IA64N directory).&lt;BR /&gt;&lt;BR /&gt;    Also, I have a C++ application which we built a shared library.  This application is a 64-bit application specific to IA64 platform.  &lt;BR /&gt;&lt;BR /&gt;    When I try loading this shared library in my Java application (for JNI communication) where Java app is compiled using 32-bit JDK while the shared library is 64-bit, I get a run-time error saying "UnsatisfiedLinkError".&lt;BR /&gt;&lt;BR /&gt;    Can anybody pls advice how do I go about loading 64-bit shared library into a 32-bit Java app?&lt;BR /&gt;&lt;BR /&gt;    I don't have a chance of recompiling the Java app using 64-bit JDK (found under $JAVA_HOME/bin/IA64W) since this app is a product and I don't own the source.  Same with C++ app since this too is a part of another HP product.&lt;BR /&gt;&lt;BR /&gt;    Your inputs are highly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Giri</description>
      <pubDate>Mon, 20 Mar 2006 09:43:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/jni-issue-problem-loading-a-64-bit-shared-library/m-p/3754778#M101682</guid>
      <dc:creator>Giridhar Shankar</dc:creator>
      <dc:date>2006-03-20T09:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: JNI issue: Problem loading a 64 bit shared library</title>
      <link>https://community.hpe.com/t5/operating-system-linux/jni-issue-problem-loading-a-64-bit-shared-library/m-p/3754779#M101683</link>
      <description>Hi Giri, &lt;BR /&gt;&lt;BR /&gt;I think, you can't link a 32 bit application with 64 bit shared library. Either you have to port your app into 64 bit or, library to 32 bit. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Mon, 20 Mar 2006 09:47:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/jni-issue-problem-loading-a-64-bit-shared-library/m-p/3754779#M101683</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-03-20T09:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: JNI issue: Problem loading a 64 bit shared library</title>
      <link>https://community.hpe.com/t5/operating-system-linux/jni-issue-problem-loading-a-64-bit-shared-library/m-p/3754780#M101684</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Linking 32-bit and 64-bit object files (.o, .sl, .a) together is not supported. All modules in a program must be linked from either 32-bit objects or 64-bit objects.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                   Steve STeel</description>
      <pubDate>Mon, 20 Mar 2006 10:20:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/jni-issue-problem-loading-a-64-bit-shared-library/m-p/3754780#M101684</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2006-03-20T10:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: JNI issue: Problem loading a 64 bit shared library</title>
      <link>https://community.hpe.com/t5/operating-system-linux/jni-issue-problem-loading-a-64-bit-shared-library/m-p/3754781#M101685</link>
      <description>Well Giridhar you can't mix modes when compiling your application.&lt;BR /&gt;&lt;BR /&gt;cheers!</description>
      <pubDate>Mon, 20 Mar 2006 11:41:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/jni-issue-problem-loading-a-64-bit-shared-library/m-p/3754781#M101685</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-03-20T11:41:15Z</dc:date>
    </item>
  </channel>
</rss>

