- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Multiple version of java in HP-UX
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
тАО04-22-2010 12:18 PM
тАО04-22-2010 12:18 PM
Multiple version of java in HP-UX
I have a HP-UX 11.11 box in which I have java.1.4.2.04 installed. One of our application called Mqm uses that java. There is a critical alert to upgrade to java.1.4.2.24, however, we cannot overwrite the /opt/java.1.4 directory because it will mess up the mqm application that is currently using it.
Can Any one suggest a way to install the java.1.4.2.24 version to a different directory (for instance /opt/java1.4.2.24) instead of the default /opt/java.14.
Thanks,
Suma
- Tags:
- Java
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2010 12:31 PM
тАО04-22-2010 12:31 PM
Re: Multiple version of java in HP-UX
Suggestions
1) Use another system
2) Use a different target for the install. I tried this and its a PITA. This is done in the swinstall process
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
тАО04-22-2010 02:18 PM
тАО04-22-2010 02:18 PM
Re: Multiple version of java in HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2010 12:30 AM
тАО04-23-2010 12:30 AM
Re: Multiple version of java in HP-UX
There are two ways swinstall can do this. Alternate root: @ /alternate-root path
Locatable
swlist -a is_locatable -s $PWD/foo.depot
Is is_locatable true for your depot?
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1132499
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1165706
- Tags:
- swinstall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2010 11:53 PM
тАО04-23-2010 11:53 PM
Re: Multiple version of java in HP-UX
Multiple versions in same system.
Is that recommended????
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2010 12:03 PM
тАО04-24-2010 12:03 PM
Re: Multiple version of java in HP-UX
set CLASSPATH=/opt/java/
You could change this after installation of the newer java version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2010 11:37 PM
тАО04-25-2010 11:37 PM
Re: Multiple version of java in HP-UX
This is what you can do :
1) Copy your current java to a new directory : cp -pr /opt/java1.4 /opt/java1.4.2.04
2) Change the JAVA_HOME or PATH variables in the startup scripts of your application (or all java-4 applications), and restart the application when it fits you. Verify that nothing is using the regular /opt/java1.4 directory
3) Install the newer java version with swinstall without any special options.
4) Reset the JAVA_HOME and/or PATH variables to /opt/java1.4 so that the applications pick upthe newer java version once they restart.
-> If it turns out that, against all expectations, your appicatrion can't handle java 1.4.2.24, you can allways revert to the original version by setting the JAVA_HOME and/or PATH variables to /opt/java1.4.2.04
If your application cannot handle java 1.4.2.24, and you can't change the java path for your Mqm application, there is another step you can take : Move /opt/java1.4 to /opt/java1.4.2.24 and then move /opt/java1.4.2.04 to /opt/java1.4.
But you now need to change the JAVA_HOME and PATH variables for all your other java applications, or you could as well install nothing at all.