- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Java 1.6 on HP-UX Itanium: which java executable?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 09:08 AM
тАО06-17-2010 09:08 AM
I have to configure a third-party Java application to point to the java executable.
In PA-RISC, it's OK.
But in Itanium and I wonder which excutable I should use:
desar1:/opt/java6/bin#file java
java: PA-RISC2.0 executable dynamically linked -not stripped
desar1:/opt/java6/bin/IA64W#file java
java: ELF-64 executable object file - IA64
desar1:/opt/java6/jre/bin#file java
java: PA-RISC2.0 executable dynamically linked -not stripped
desar1:/opt/java6/jre/bin/IA64W#file java
java: ELF-64 executable object file - IA64
Thanks.
Solved! Go to Solution.
- Tags:
- Java
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 12:13 PM
тАО06-17-2010 12:13 PM
Re: Java 1.6 on HP-UX Itanium: which java executable?
You may use any of the executables listed above on an Itanium system.
Those marked PA-RISC will use the ARIES emulation libraries to translate system calls. Those marked IA64 will execute in native mode.
Executing in native mode is preferred for performance in most cases. This assumes these java files are actually intended for the same purpose.
You might want to, just for grins try the what command on those guys.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 12:18 PM
тАО06-17-2010 12:18 PM
SolutionThe correct executable is the driver:
/opt/java6/bin/java
This selects the appropriate JVM based on the architecture and options.
>Those marked PA-RISC will use the ARIES emulation libraries to translate system calls.
This isn't true for the driver since it will immediately exec the correct one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 01:33 PM
тАО06-17-2010 01:33 PM
Re: Java 1.6 on HP-UX Itanium: which java executable?
It is a really bad habit of yours to direct comments to me via the forums. That is what email is for. That is how Bill Hassell does it when he notices a mistake in one of my posts.
I consider myself parsed.
Back to the question at hand.
If you are building an executable on an IA-64 system you will want to use the native IA-64 executable object file to avoid use of ARIES.
If you are facing a choice between which executable to run, again on an IA-64 system you are better off running in native mode than not.
If you run this executable on a IA-64 system:
java: PA-RISC2.0 executable dynamically linked -not stripped
If there are any system calls, they will be translated to IA-64 system calls by ARIES.
I don't see the word driver in the initial question and fail to connect the dots as to why that is being dragged into the thread.
FYI, We are currently in the middle of a 30 system migration, rp8420 to superdome, many of our binaries are going to be left in PA-RISC mode and will use the ARIES emulation.
We've been conducting performance tests of binaries native versus ARIES mode.
IF possible, on IA-64 systems, don't use ARIES to run PA-RISC executable.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 01:41 PM
тАО06-17-2010 01:41 PM
Re: Java 1.6 on HP-UX Itanium: which java executable?
For those interested in a bit more background, see this thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1434555
It's there that Dennis talks about the Java "driver" code.
I know I learned something from him :-)
Regards!
...JRF...
- Tags:
- java driver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 11:06 PM
тАО06-17-2010 11:06 PM
Re: Java 1.6 on HP-UX Itanium: which java executable?
Java driver always runs using ARIES. To invoke different JVM flavors -
32-bit IA64: /opt/java6/bin/java
64-bit IA64: /opt/java6/bin/java -d64
32-bit PA-RISC: /opt/java6/bin/java -pa20
64-bit PA-RISC: /opt/java6/bin/java -pa20w
P.S. To invoke PA-RISC JVM on IA64, you need to install PA-RISC JDK/JRE using -x allow_incompatible=true option to swinstall.
Regards
-Rajesh
- Tags:
- Aries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 11:13 PM
тАО06-17-2010 11:13 PM
Re: Java 1.6 on HP-UX Itanium: which java executable?
I launched:
tusc [-d64] /opt/java6/bin/java -version
and noticed the right Itanium 32/64-bit version is chosen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2010 01:58 AM
тАО06-19-2010 01:58 AM
Re: Java 1.6 on HP-UX Itanium: which java executable?
Because one of those executables that Jose mentioned IS the java driver.
- Tags:
- java driver