Operating System - HP-UX
1820475 Members
2926 Online
109624 Solutions
New Discussion юеВ

Java JDK versions and 32/64 bit on IA64

 
SOLVED
Go to solution
Norman Dignard
Regular Advisor

Java JDK versions and 32/64 bit on IA64

I downloaded jdk15_15011 (IA) to install on our rx2620 box running 11.31. The web app (Remedy 7.1 midtier) that we're installing needs 32bit java. Looking at the release notes for JAVA is states that is supported both 32 and 64 bit.

How do I enable java or the app to use 32 bit java on our Itanium system ? Is it a java setup option or a app parameter?

In our last attempt using an earlier version of Remedy we had to install PA-risc version of java but it ran a little flacky. I also looked at downloading the PA versions (in case this what I need) of the JDK and there are 2 versions - jdk15_15011 and a jdk15aa_15011. Anybody know what the direrences are? I haven't found any docs describing the jdk15aa_15011 download.
3 REPLIES 3
Matti_Kurkela
Honored Contributor
Solution

Re: Java JDK versions and 32/64 bit on IA64

To select the 32-bit or 64-bit Java, use the "-d32" or "-d64" options when running Java. As far as I know, the 32-bit mode used to be the default.

The difference between jdk15_ and jdk15aa_ is related to C++ calling conventions. If you call Java as a library from a C++ program on a PA-RISC platform, the Java version must match the used C++ compiler options.

If the C++ program is compiled using the usual PA-RISC convention (-AP compiler option, which used to be the default on a PA-RISC platform), the correct version is jdk15_15011.

If the C++ program is compiled using the ANSI standard convention (-AA compiler option; the new standard), the correct version is jdk15aa_15011.

This is documented in the release notes, sub-title "Support for C++ applications built with -AA and -AP options (PA-RISC)".

MK
MK
Steven E. Protter
Exalted Contributor

Re: Java JDK versions and 32/64 bit on IA64

Shalom,

I don't think you need to do anything to make it work. If you are dealing with large memory sizes going 64 bit would be more efficient. However what java is used is a function of the application configuration.

SEP
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
Norman Dignard
Regular Advisor

Re: Java JDK versions and 32/64 bit on IA64

Thanks