Operating System - HP-UX
1752609 Members
4400 Online
108788 Solutions
New Discussion юеВ

Can PA-RISC compiled .so files run under Itanium native JVM?

 
Raghavendran_1
New Member

Can PA-RISC compiled .so files run under Itanium native JVM?

Hi:

We have recently ported one of our applications to HP-UX PA-RISC 2.0 from Solaris.

Our application comprises mainly of Java code calling out in some cases to .so files via JNI calls.

We have successfully ported this a while back to PA-RISC 2.0.

Now the queries I have is:

1. Will the same binaries (both Java/Native code) run under Itanium's native JVM (JRE 1.4)?
2. Will our Java Code that calls out to the native code be able to successfully load the .so file and initialize it (given that the .so file is a PA-RISC library and the JVM is a Itanium JVM)?
3. Will the Aries sub-system help the above Porting effort in any way?

Thanks in advance,

Regards,
/R
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Can PA-RISC compiled .so files run under Itanium native JVM?

1) I believe you will need to get and compile new binaries to work on Itanium. Totally different processor architecture.

2) Recompiled java code whould work on any platform, pa-risc to itanium should not be a problem.

3) No idea.

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
Raghavendran_1
New Member

Re: Can PA-RISC compiled .so files run under Itanium native JVM?

Steven:

Thanks a lot for your quick response. To clarify it a bit further, will our Java code (which you've said will work in PA-RISC/Itanium JVM) be able to successfully initialize and load a PA-RISC 2.0 library (.so file) from with in an Itanium JVM? The reason I ask is that HP-UX Itanium has this Aries sub-system that does runtime instruction translation and supports PA-RISC binaries that way. But since our binary isn't an executable but a libray that is invoked by our Java code (which runs with in the JVM), I'm interested in knowing if the Aries system will help us out here.

Thanks again for your time,

Regards,
R
ranganath ramachandra
Esteemed Contributor

Re: Can PA-RISC compiled .so files run under Itanium native JVM?

aries is for the whole process, it does not work on a per-library basis.

the kernel loader takes care of loading PA executables on IPF machines, through aries. so if your process was not a PA executable to start with, aries has no role to play.
 
--
ranga
[i work for hpe]

Accept or Kudo

Dennis Handly
Acclaimed Contributor

Re: Can PA-RISC compiled .sl files run under Integrity native JVM?

>1. Will the same binaries (both Java/Native code) run under Itanium's native JVM (JRE 1.4)?

 

Possibly with the newer MITR.  Otherwise you could probably install the PA-RISC java on Integrity.

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