Operating System - HP-UX
1854822 Members
14205 Online
104103 Solutions
New Discussion

JDK on HP-UX 11i 64 or 32 bit?

 
John Argo
Occasional Contributor

JDK on HP-UX 11i 64 or 32 bit?

Is there any way to verify the that JDK or JRE installed on my system supports 64-bit? I have JDK 1.3 installed on a K-class running HP-UX 11i. I have java failures that suggest it is hitting limits imposed by 32-bit kernel settings instead of 64-bit.
6 REPLIES 6
Denver Osborn
Honored Contributor

Re: JDK on HP-UX 11i 64 or 32 bit?

Is your OS 32 or 64bit?

verify with:

# getconf KERNEL_BITS
Michael Tully
Honored Contributor

Re: JDK on HP-UX 11i 64 or 32 bit?


# getconf KERNEL_BITS /opt/java1.3/bin/PA_RISC2.0/native_threads/java
64
Anyone for a Mutiny ?
John Argo
Occasional Contributor

Re: JDK on HP-UX 11i 64 or 32 bit?

getconf returns 64.
Sridhar Bhaskarla
Honored Contributor

Re: JDK on HP-UX 11i 64 or 32 bit?

If you are using /opt/java1.2/bin/PA_RISC2.0/native_threads, then it will access 64-bit java.

Your getconf only tells you what the kernel mode is. Not really the java version.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Steven E. Protter
Exalted Contributor

Re: JDK on HP-UX 11i 64 or 32 bit?

http://www.hp.com/go/java

Get the right version based on the app that actually needs java

http://www.hp.com/products1/unix/java/infolibrary/patches.html

Get and install the appropriate patches prior to installing java

Try again. It might work better

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mike Stroyan
Honored Contributor

Re: JDK on HP-UX 11i 64 or 32 bit?

The java 1.4 releases include support for a -d64 option to get 64 bit addresses. You will need new 64-bit versions of any JNI libraries that you use. There are details in the release notes-
http://www.hp.com/products1/unix/java/java2/sdkrte14/infolibrary/sdk_rnotes_1.4.1.00.html#HotSpot_options

You could also look at this document about getting more memory space from a 32-bit java such as the java 1.3 releases.
http://www.hp.com/products1/unix/java/infolibrary/prog_guide/java1_3/expanding_memory.html