Operating System - HP-UX
1833882 Members
1853 Online
110063 Solutions
New Discussion

Java SDK: What are IA64N and IA64W

 
SOLVED
Go to solution
Charles_126
Occasional Contributor

Java SDK: What are IA64N and IA64W

Hi,

Some basic questions I cannot find the answers too. I downloaded and installed the Java 1.4 SDK. It has support for OSes 11iv1, 11iv1.6 and 11iv2. The bin directory has 3 subdirectories named PA_RISC, IA64N and IA64W. I assume the PA_RISC directory is for 11iv1. So, which directory maps to 11iv1.6 (and 11iv2)?

Another thing I cannot figure out, probably because I am new to HP machines, is how the executables in the bin directory figure out which executable to call in the OS specific subdirectories? It appears to be magic to me, expecially since the executable size in the bin directory is the same size as the corresponding executable in the PA_RISC directory. I would, naively, expect them to be the same but they are not.

Thank you in advance; I appreciate it.

charlie
2 REPLIES 2
Laurent Menase
Honored Contributor
Solution

Re: Java SDK: What are IA64N and IA64W

Hi,

Usually IA64N is for narrow (32bits)
IA64W is for wide (64bits)
# file IA64W/java
java: ELF-64 executable object file - IA64
# file IA64N/java
java: ELF-32 executable object file - IA64

The PA-RISC is the same as the one in bin is a wrapper which identify if it is a IA or a PA.

if you look at a tusc output, you will see it execve a IA64N/java usually and a IA64W/java if you run with -d64 option

The wrapper is run under aries just to identify the type of the cpu - using {354867} sysconf(_SC_CPU_CHIP_TYPE)- of the system.

on a PA 11iv1 or 11iv2 system, we have
PA_RISC/java
PA_RISC2.0/java
PA_RISC2.0W/java
and the wrapper java is a PA_RISC 1.1 version of java is not the same file as the wrapper.
11iv2 PA
# cksum java */java
2757783925 81592 java
2598768929 81592 PA_RISC/java
955398811 81592 PA_RISC2.0/java
2875568109 75784 PA_RISC2.0W/java
11iv2 IA
# cksum java */java
3035059845 81592 java
2719881688 106904 IA64N/java
1429038763 110312 IA64W/java
2848883757 81592 PA_RISC/java


Laurent
Charles_126
Occasional Contributor

Re: Java SDK: What are IA64N and IA64W

Thanks Laurent. I understand the process now.