- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2010 04:44 AM
тАО06-11-2010 04:44 AM
Re: Java 1.5 32/64 bit
You don't need to tell, you should get both. Use -d64 for 64 bit.
>So where does this leave me?
The java driver is usually PA32. Then it execs the correct bitness and architecture.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2010 07:08 AM
тАО06-11-2010 07:08 AM
Re: Java 1.5 32/64 bit
So is there only ONE version of each JDK/JRE java and it executes BOTH 32/64??? Reason I ask because in the past I've seen different versions available for 32/64 and I want to be sure I have the right one.
For some reason Oracle Financials likes 32 bit.
Again, sorry if I seem slow at grasping this one.
Thanks
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2010 07:18 AM
тАО06-11-2010 07:18 AM
Re: Java 1.5 32/64 bit
No, JRF was fooled by the java driver. :-)
So what you're saying is that my java driver is 32 bit, but it CAN execute 64 bit?
Yes and on Integrity is is PA and it will exec either the PA or Integrity java.
>So is there only ONE version of each JDK/JRE java and it executes BOTH 32/64?
Yes, depending on the command line options.
>in the past I've seen different versions available for 32/64
Perhaps but now they come in one bundle.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2010 07:23 AM
тАО06-11-2010 07:23 AM
Re: Java 1.5 32/64 bit
Just as long as my 1.5 can run the recommended flavor that Oracle likes, I'm happy.
Thanks again
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2010 07:39 AM
тАО06-11-2010 07:39 AM
Re: Java 1.5 32/64 bit
> Dennis: No, JRF was fooled by the java driver. :-) So what you're saying is that my java driver is 32 bit, but it CAN execute 64 bit? Yes and on Integrity is is PA and it will exec either the PA or Integrity java.
Wow! Thanks Dennis.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2010 08:02 AM
тАО06-11-2010 08:02 AM
Re: Java 1.5 32/64 bit
As I previously said, my configuration on the server is set for 64 IE:
# getconf KERNEL_BITS
64
So when the DBA who points Oracle Apps to Java 1.5, is the java going to be 32 or 64??? If it was installed in our 64 bit system, does it depend on HOW it was installed (ie d64/d32)? Can I check that???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2010 03:22 PM
тАО06-11-2010 03:22 PM
Re: Java 1.5 32/64 bit
Thanks again
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2010 03:24 PM
тАО06-11-2010 03:24 PM