<?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: how to load a 64bit library in Java in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-load-a-64bit-library-in-java/m-p/2890537#M717201</link>
    <description>Even I am facing the same problem.. Need Help.. &lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;CA102</description>
    <pubDate>Fri, 26 Sep 2003 01:37:36 GMT</pubDate>
    <dc:creator>Priti Kulkarni</dc:creator>
    <dc:date>2003-09-26T01:37:36Z</dc:date>
    <item>
      <title>how to load a 64bit library in Java</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-load-a-64bit-library-in-java/m-p/2890531#M717195</link>
      <description>Hello everybody,&lt;BR /&gt;I use class/method System.loadLibrary() to load a DLL. This works fine for 32bit libraries, it fails for 64 bit libraries.&lt;BR /&gt;For example this library (info by 'file'):&lt;BR /&gt;libfpesv.sl: ELF-64 shared object file - PA-RISC 2.0 (LP64)&lt;BR /&gt;gives following error with above call:&lt;BR /&gt;java.lang.UnsatisfiedLinkError: /home/dbpm/bbe/test/libfpesv.sl:&lt;BR /&gt;specified file is not a shared library, or a format error was detected.&lt;BR /&gt; at java.lang.ClassLoader$NativeLibrary.load(Native Method)&lt;BR /&gt; at java.lang.ClassLoader.loadLibrary0(Unknown Source)&lt;BR /&gt; at java.lang.ClassLoader.loadLibrary(Unknown Source)&lt;BR /&gt; at java.lang.Runtime.loadLibrary0(Unknown Source)&lt;BR /&gt; at java.lang.System.loadLibrary(Unknown Source)&lt;BR /&gt; at LoadLib.&lt;INIT&gt;(LoadLib.java:14)&lt;BR /&gt; at LoadLib.main(LoadLib.java:7)&lt;BR /&gt;I'm using Java version: Java HotSpot(TM) Server VM (build 1.4.1.4.0.01-020827-17:12-PA_RISC2.0 PA2.0, mixed mode)&lt;BR /&gt;&lt;BR /&gt;Does somebody know ?&lt;BR /&gt;Regards,  Bernhard Bercher   (bbe@de.ibm.com&lt;/INIT&gt;</description>
      <pubDate>Fri, 24 Jan 2003 17:27:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-load-a-64bit-library-in-java/m-p/2890531#M717195</guid>
      <dc:creator>Bercher</dc:creator>
      <dc:date>2003-01-24T17:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to load a 64bit library in Java</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-load-a-64bit-library-in-java/m-p/2890532#M717196</link>
      <description>Assuming this is a UX server and it appears to be here are a few questions.&lt;BR /&gt;&lt;BR /&gt;Are you current on java required patches?&lt;BR /&gt;&lt;BR /&gt;If not, go here, and get current.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unix/java/infolibrary/patches.html" target="_blank"&gt;http://www.hp.com/products1/unix/java/infolibrary/patches.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You might want to make sure your current java directory is in the PATH and little things like that.&lt;BR /&gt;&lt;BR /&gt;I would also be current on Quality packs and security patches, though this is less cricical than java patches.&lt;BR /&gt;&lt;BR /&gt;I ran a search for your error message and got an extensive list back.&lt;BR /&gt;&lt;BR /&gt;One of these docs might help.  I'm sorry I don't have time to be more specific.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/emse/bin/doc.pl/sid=00574e7413ee10ee68?todo=search&amp;amp;searchcategory=ALL&amp;amp;rn=25&amp;amp;presort=rank&amp;amp;searchtext=specified+file+is+not+a+shared+library%2C+or+a+format+error+was+detected&amp;amp;searchcriteria=exactphrase&amp;amp;searchtype=SEARCH_TECH_DOCS&amp;amp;searchtype=SEARCH_MANUAL&amp;amp;searchtype=SEARCH_FORUMS&amp;amp;x=41&amp;amp;y=8" target="_blank"&gt;http://us-support.external.hp.com/emse/bin/doc.pl/sid=00574e7413ee10ee68?todo=search&amp;amp;searchcategory=ALL&amp;amp;rn=25&amp;amp;presort=rank&amp;amp;searchtext=specified+file+is+not+a+shared+library%2C+or+a+format+error+was+detected&amp;amp;searchcriteria=exactphrase&amp;amp;searchtype=SEARCH_TECH_DOCS&amp;amp;searchtype=SEARCH_MANUAL&amp;amp;searchtype=SEARCH_FORUMS&amp;amp;x=41&amp;amp;y=8&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;P</description>
      <pubDate>Fri, 24 Jan 2003 17:41:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-load-a-64bit-library-in-java/m-p/2890532#M717196</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-24T17:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to load a 64bit library in Java</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-load-a-64bit-library-in-java/m-p/2890533#M717197</link>
      <description>Hi!&lt;BR /&gt;To invoke the 64-bits JVM from command line&lt;BR /&gt;option -d64 must be used.&lt;BR /&gt;Regards.</description>
      <pubDate>Wed, 29 Jan 2003 07:56:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-load-a-64bit-library-in-java/m-p/2890533#M717197</guid>
      <dc:creator>Stanimir</dc:creator>
      <dc:date>2003-01-29T07:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to load a 64bit library in Java</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-load-a-64bit-library-in-java/m-p/2890534#M717198</link>
      <description>Hi Bernhard,&lt;BR /&gt;&lt;BR /&gt;We are facing the exact same problem with a 64-bits library (java.lang.UnsatisfiedLinkError).&lt;BR /&gt;&lt;BR /&gt;Before, we used java1.3 so after reading this thread we have installed java1.4 (SDK1.4.1.00) and we have tried to invoke java using the -d64 option... But we still have the same problem.&lt;BR /&gt;&lt;BR /&gt;Did you manage to solve your problem?&lt;BR /&gt;&lt;BR /&gt;Thanks for your feedback.&lt;BR /&gt;Best Regards,&lt;BR /&gt;Nicolas</description>
      <pubDate>Thu, 17 Apr 2003 08:37:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-load-a-64bit-library-in-java/m-p/2890534#M717198</guid>
      <dc:creator>Nicolas Moulin_1</dc:creator>
      <dc:date>2003-04-17T08:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to load a 64bit library in Java</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-load-a-64bit-library-in-java/m-p/2890535#M717199</link>
      <description>Hi,&lt;BR /&gt;I have the same error.&lt;BR /&gt;&lt;BR /&gt;we add -d64 flag .&lt;BR /&gt;&lt;BR /&gt;jdk verision:&lt;BR /&gt;&lt;BR /&gt;Java HotSpot(TM) Server VM (build 1.4.1 1.4.1.02-030502-15:31-PA_RISC2.0 PA2.0, mixed mode)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and still get the same error.&lt;BR /&gt;&lt;BR /&gt;Did it working for someone ?&lt;BR /&gt;please help.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 31 Jul 2003 09:26:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-load-a-64bit-library-in-java/m-p/2890535#M717199</guid>
      <dc:creator>Amit_30</dc:creator>
      <dc:date>2003-07-31T09:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to load a 64bit library in Java</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-load-a-64bit-library-in-java/m-p/2890536#M717200</link>
      <description>Iv got exactly the same problems&lt;BR /&gt;with the java -d64 command !!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;java version "1.4.1.03"&lt;BR /&gt;Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1.03-030630-19:37)&lt;BR /&gt;Java HotSpot(TM) 64-Bit Server VM (build 1.4.1 1.4.1.03-030701-00:55-PA_RISC2.0W PA2.0W, mixed mode)&lt;BR /&gt;I can load 32b shared librarys but not 64b !!&lt;BR /&gt;&lt;BR /&gt;Have you solved your problem ??&lt;BR /&gt;&lt;BR /&gt;I have red somewhere &lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unix/java/infolibrary/prog_guide/java1_3/JNI_java2.html" target="_blank"&gt;http://www.hp.com/products1/unix/java/infolibrary/prog_guide/java1_3/JNI_java2.html&lt;/A&gt;&lt;BR /&gt;that we can't load 64bits libraries !!!!&lt;BR /&gt;&lt;BR /&gt;Is it true ??&lt;BR /&gt;&lt;BR /&gt;Jean de Ratuld</description>
      <pubDate>Tue, 02 Sep 2003 14:41:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-load-a-64bit-library-in-java/m-p/2890536#M717200</guid>
      <dc:creator>ratuld</dc:creator>
      <dc:date>2003-09-02T14:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to load a 64bit library in Java</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-load-a-64bit-library-in-java/m-p/2890537#M717201</link>
      <description>Even I am facing the same problem.. Need Help.. &lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;CA102</description>
      <pubDate>Fri, 26 Sep 2003 01:37:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-load-a-64bit-library-in-java/m-p/2890537#M717201</guid>
      <dc:creator>Priti Kulkarni</dc:creator>
      <dc:date>2003-09-26T01:37:36Z</dc:date>
    </item>
  </channel>
</rss>

