<?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: determine if java app is 32-bit or 64-bit in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-java-app-is-32-bit-or-64-bit/m-p/4280777#M335397</link>
    <description>The default is 32 bit.  If you want 64 bit you need to use -d64.  If you have any JNIs, you would have to port them first.</description>
    <pubDate>Sun, 05 Oct 2008 01:32:51 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-10-05T01:32:51Z</dc:date>
    <item>
      <title>determine if java app is 32-bit or 64-bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-java-app-is-32-bit-or-64-bit/m-p/4280776#M335396</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm using HP-UX 11.11 (11i) on a HP9000 PA-RISC server.&lt;BR /&gt;&lt;BR /&gt;I have done the following:&lt;BR /&gt;&lt;BR /&gt;1. Downloaded the JRE v5.0.08 from: &lt;A href="http://h20392.www2.hp.com/portal/swdepot/try.do?productNumber=JDKJRE5008" target="_blank"&gt;http://h20392.www2.hp.com/portal/swdepot/try.do?productNumber=JDKJRE5008&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;2. Installed the JRE.&lt;BR /&gt;&lt;BR /&gt;3. Run a Java application like this:&lt;BR /&gt;/opt/java1.5/bin/java -Xmx1024m -cp bin com.examples.Test&lt;BR /&gt;&lt;BR /&gt;I just need to know if this java process is a 32-bit or 64-bit process.&lt;BR /&gt;&lt;BR /&gt;It's important because I have read that there are certain memory limitations for 32-bit applications in HP-UX 11.11.&lt;BR /&gt;&lt;BR /&gt;Thank you very much.</description>
      <pubDate>Sun, 05 Oct 2008 00:21:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-java-app-is-32-bit-or-64-bit/m-p/4280776#M335396</guid>
      <dc:creator>ahpuser</dc:creator>
      <dc:date>2008-10-05T00:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: determine if java app is 32-bit or 64-bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-java-app-is-32-bit-or-64-bit/m-p/4280777#M335397</link>
      <description>The default is 32 bit.  If you want 64 bit you need to use -d64.  If you have any JNIs, you would have to port them first.</description>
      <pubDate>Sun, 05 Oct 2008 01:32:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-java-app-is-32-bit-or-64-bit/m-p/4280777#M335397</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-10-05T01:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: determine if java app is 32-bit or 64-bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-java-app-is-32-bit-or-64-bit/m-p/4280778#M335398</link>
      <description>Hi,&lt;BR /&gt;You are right,you have to use 64 bit process.&lt;BR /&gt;You have to use 64-bit process instead of 32 bit.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gokul Chandola</description>
      <pubDate>Sun, 05 Oct 2008 12:22:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-java-app-is-32-bit-or-64-bit/m-p/4280778#M335398</guid>
      <dc:creator>Gokul Chandola</dc:creator>
      <dc:date>2008-10-05T12:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: determine if java app is 32-bit or 64-bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-java-app-is-32-bit-or-64-bit/m-p/4280779#M335399</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You can use the what command on the actual binary.&lt;BR /&gt;&lt;BR /&gt;You can use swlist -a fileset to to analyze the java server binaries.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 05 Oct 2008 13:07:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-java-app-is-32-bit-or-64-bit/m-p/4280779#M335399</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-10-05T13:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: determine if java app is 32-bit or 64-bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-java-app-is-32-bit-or-64-bit/m-p/4280780#M335400</link>
      <description>Thanks everyone for the replies.&lt;BR /&gt;&lt;BR /&gt;Dennis Handly wrote:&lt;BR /&gt;"The default is 32 bit. If you want 64 bit you need to use -d64. If you have any JNIs, you would have to port them first".&lt;BR /&gt;&lt;BR /&gt;I'm a little confused here:&lt;BR /&gt;I used to think that a binary file can be either 32-bit or 64-bit (not both).&lt;BR /&gt;For example, some applications offers two binary executable files: one is 32-bit and the other is 64-bit.&lt;BR /&gt;&lt;BR /&gt;But what about java? The java binary executable /opt/java1.5/java can produce a 32-bit process or a 64-bit process only by specifying the -d64 flag?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Gokul Chandola wrote:&lt;BR /&gt;"You are right,you have to use 64 bit process.&lt;BR /&gt;You have to use 64-bit process instead of 32 bit."&lt;BR /&gt;&lt;BR /&gt;How do I use 64-bit process instead of 32-bit?&lt;BR /&gt;Just by using the -d64 flag?&lt;BR /&gt;Or I need to use another java binary executable  (I'm currently using /opt/java1.5/java)?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Steven E. Protter wrote:&lt;BR /&gt;"You can use the what command on the actual binary.&lt;BR /&gt;You can use swlist -a fileset to to analyze the java server binaries."&lt;BR /&gt;&lt;BR /&gt;I will try those commands as soon as I can.&lt;BR /&gt;&lt;BR /&gt;Any additional information would be great. Thanks.</description>
      <pubDate>Sun, 05 Oct 2008 17:00:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-java-app-is-32-bit-or-64-bit/m-p/4280780#M335400</guid>
      <dc:creator>ahpuser</dc:creator>
      <dc:date>2008-10-05T17:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: determine if java app is 32-bit or 64-bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-java-app-is-32-bit-or-64-bit/m-p/4280781#M335401</link>
      <description>You're thinking too hard, believe in the magic.  :-) Just add the -d64 option.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I used to think that a binary file can be either 32-bit or 64-bit (not both).&lt;BR /&gt;&lt;BR /&gt;There is no binary file here, just instructions in memory.  :-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;some applications offers two binary executable files: one is 32-bit and the other is 64-bit.&lt;BR /&gt;&lt;BR /&gt;Exactly, that's the magic.  But typically applications only come one way, only shlibs may have both.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The java binary executable /opt/java1.5/java can produce a 32-bit process or a 64-bit process only by specifying the -d64 flag?&lt;BR /&gt;&lt;BR /&gt;That's just a 32 bit driver that invokes either a 32 or a 64 bit JVM.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;How do I use 64-bit process instead of 32-bit?  Just by using the -d64 flag?&lt;BR /&gt;&lt;BR /&gt;That's correct, read the documentation.&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/JAVAPROGUIDE/hotspot.html#-d64" target="_blank"&gt;http://docs.hp.com/en/JAVAPROGUIDE/hotspot.html#-d64&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Any additional information would be great.&lt;BR /&gt;&lt;BR /&gt;You can use tusc to see exactly how it works.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;SEP: You can use the what command on the actual binary.&lt;BR /&gt;&lt;BR /&gt;Did you mean the file(1) command instead?</description>
      <pubDate>Mon, 06 Oct 2008 01:27:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-java-app-is-32-bit-or-64-bit/m-p/4280781#M335401</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-10-06T01:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: determine if java app is 32-bit or 64-bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-java-app-is-32-bit-or-64-bit/m-p/4280782#M335402</link>
      <description>Ok, &lt;BR /&gt;&lt;BR /&gt;&amp;gt; That's just a 32 bit driver that invokes either a 32 or a 64 bit JVM.&lt;BR /&gt;&lt;BR /&gt;That explain everything.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; You can use tusc to see exactly how it works.&lt;BR /&gt;&lt;BR /&gt;I'll do that, thanx.&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Oct 2008 18:00:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-java-app-is-32-bit-or-64-bit/m-p/4280782#M335402</guid>
      <dc:creator>ahpuser</dc:creator>
      <dc:date>2008-10-06T18:00:28Z</dc:date>
    </item>
  </channel>
</rss>

