<?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: Java JNI error on IA64 box [URGENT] in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/java-jni-error-on-ia64-box-urgent/m-p/3751507#M101644</link>
    <description>Hi Giri, &lt;BR /&gt;&lt;BR /&gt;IA64 uses shared libraries with extension of .so not .sl which is used by PA (11.11). &lt;BR /&gt;&lt;BR /&gt;You can also try asking this question at, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/ml/ml_MailingLists_IDX/1,1275,,00.html#25" target="_blank"&gt;http://h21007.www2.hp.com/dspp/ml/ml_MailingLists_IDX/1,1275,,00.html#25&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
    <pubDate>Wed, 15 Mar 2006 07:11:10 GMT</pubDate>
    <dc:creator>Arunvijai_4</dc:creator>
    <dc:date>2006-03-15T07:11:10Z</dc:date>
    <item>
      <title>Java JNI error on IA64 box [URGENT]</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-jni-error-on-ia64-box-urgent/m-p/3751505#M101642</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;    We are working on a HP Itanium box with JDK 1.4.2, aCC (A.05) and attempting to use JNI to invoke some C++ functions thru a Java client and we have run into issues.&lt;BR /&gt;&lt;BR /&gt;    We have a C++ library (in the form of .a files).  For the sake of JNI, we recompiled the C++ code with +z option (PIC option) and we built a .sl file with -b option using aCC.  We have followed all the steps as per JNI implementation guide (&lt;A href="http://www.hp.com/products1/unix/java/infolibrary/prog_guide/JNI_java2.html)." target="_blank"&gt;http://www.hp.com/products1/unix/java/infolibrary/prog_guide/JNI_java2.html).&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;    We get the error below when we run Java program.  Could anybody pls help?&lt;BR /&gt;&lt;BR /&gt;    Also, after creating the .sl file, we verified if there is any dynamic link missing thru ldd and there is no issue there.  However, I observed that when I do nm &amp;lt;.sl&amp;gt; file, there are a few UNDEF functions like malloc, printf, etc.&lt;BR /&gt;&lt;BR /&gt;    Is it necessary for an .sl file to have no UNDEF symbols in the .sl file to be loaded into the JVM thru System.loadLibrary()?  Can somebody pls pls help?&lt;BR /&gt;&lt;BR /&gt;[Raja@ion2.digitalindiasw.net] /opt/java1.4/bin/java RateCDR Loading libraries...&lt;BR /&gt;Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/raja/Rating/Ram&lt;BR /&gt;/libRateCDR.sl: some symbol required by the shared library could not be found.&lt;BR /&gt;       at java.lang.ClassLoader$NativeLibrary.load(Native Method)&lt;BR /&gt;       at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1489)&lt;BR /&gt;       at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1368)&lt;BR /&gt;       at java.lang.Runtime.load0(Runtime.java:737)&lt;BR /&gt;       at java.lang.System.load(System.java:809)&lt;BR /&gt;       at RateCDR.&lt;CLINIT&gt;(RateCDR.java:12)&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Giri&lt;/CLINIT&gt;</description>
      <pubDate>Wed, 15 Mar 2006 06:59:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-jni-error-on-ia64-box-urgent/m-p/3751505#M101642</guid>
      <dc:creator>Giridhar Shankar</dc:creator>
      <dc:date>2006-03-15T06:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Java JNI error on IA64 box [URGENT]</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-jni-error-on-ia64-box-urgent/m-p/3751506#M101643</link>
      <description>Giri,&lt;BR /&gt;not 100% sure this is relevant, but:&lt;BR /&gt;&lt;A href="http://doc.cesga.es/superdome/Libraries/B2355-90730.html" target="_blank"&gt;http://doc.cesga.es/superdome/Libraries/B2355-90730.html&lt;/A&gt;&lt;BR /&gt;gives some simple sripts that may help with tracking down the problem.</description>
      <pubDate>Wed, 15 Mar 2006 07:06:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-jni-error-on-ia64-box-urgent/m-p/3751506#M101643</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-03-15T07:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Java JNI error on IA64 box [URGENT]</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-jni-error-on-ia64-box-urgent/m-p/3751507#M101644</link>
      <description>Hi Giri, &lt;BR /&gt;&lt;BR /&gt;IA64 uses shared libraries with extension of .so not .sl which is used by PA (11.11). &lt;BR /&gt;&lt;BR /&gt;You can also try asking this question at, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/ml/ml_MailingLists_IDX/1,1275,,00.html#25" target="_blank"&gt;http://h21007.www2.hp.com/dspp/ml/ml_MailingLists_IDX/1,1275,,00.html#25&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 15 Mar 2006 07:11:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-jni-error-on-ia64-box-urgent/m-p/3751507#M101644</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-03-15T07:11:10Z</dc:date>
    </item>
  </channel>
</rss>

