- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Java 1.5 32/64 bit
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-10-2010 12:01 PM
тАО06-10-2010 12:01 PM
I see that Java 1.5 JDK/JRE was installed on our server (rp7440). However, how can I tell if this is the 32bit or 64bit version? When I run java -version, it doesn't tell me this (see below). We are running HPUX 11.11
Any help would be appreciated.
Thanks
Mauro
# ./java -version
java version "1.5.0.04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.04-_27_jul_2006_10
_52)
Solved! Go to Solution.
- Tags:
- Java
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 12:24 PM
тАО06-10-2010 12:24 PM
Re: Java 1.5 32/64 bit
If it is installed correctly ,that means it is installed the correct version.
You need to check the java directory for 32 and 64 bit libraries if they are present.
Also check the system version 32 bit or 64 bit.
# getconf KERNEL_BITS
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 12:30 PM
тАО06-10-2010 12:30 PM
Re: Java 1.5 32/64 bit
So I would assume that this means that it is 64 bits. Heard that Oracle wants the 32 bit version installed...not sure why.
# getconf KERNEL_BITS
64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 12:34 PM
тАО06-10-2010 12:34 PM
Re: Java 1.5 32/64 bit
Actually I take that back getconf will only tell me the configuration values...so how do I know that the java 1.5 version installed (not by me)...is the 32/64 flavor??? I'm confused.
Thanks
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 12:37 PM
тАО06-10-2010 12:37 PM
Re: Java 1.5 32/64 bit
Do:
# file /opt/java1.5/bin/java
If you don't see notations like "ELF-64" or "LP64" then the binary is 32-bit.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 12:42 PM
тАО06-10-2010 12:42 PM
Re: Java 1.5 32/64 bit
# file /opt/java1.5/bin/java
/opt/java1.5/bin/java: PA-RISC2.0 executable dynamically linked -not stripped
So where does this leave me? Sorry if I'm being "thick".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 12:47 PM
тАО06-10-2010 12:47 PM
Solution> PA-RISC2.0 executable dynamically linked -not stripped
> So where does this leave me? Sorry if I'm being "thick".
This is a 32-bit binary.
# file a*.out
a32.out: PA-RISC2.0 shared executable dynamically linked -not stripped
a64.out: ELF-64 executable object file - PA-RISC 2.0 (LP64)
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 12:57 PM
тАО06-10-2010 12:57 PM
Re: Java 1.5 32/64 bit
So by virtue of that "PA-RISC2.0 executable dynamically linked -not stripped" message one can conclude that the executable is 32 bit???
The server is configured in 64 bit mode, and I guess I was hoping to see something like "java 1.5 version xxxx 32/64 bit..." or something like that.
Thanks again
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 01:08 PM
тАО06-10-2010 01:08 PM
Re: Java 1.5 32/64 bit
> So by virtue of that "PA-RISC2.0 executable dynamically linked -not stripped" message one can conclude that the executable is 32 bit???
Yes. And, of course, a 64-bit kernel runs 32-bit binaries just fine. For 32-bit binaries the data, stack and text fences are the 'maxdsiz', 'maxssiz' and 'maxtsz' but for 64-bit executables they are suffixed with '_64bit' and are of course very much larger in limit.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 01:49 PM
тАО06-10-2010 01:49 PM
Re: Java 1.5 32/64 bit
Thanks so much for your help. Exactly the answer I needed.
Mauro