Operating System - HP-UX
1832765 Members
3380 Online
110045 Solutions
New Discussion

Java install on alternate root

 
Ray H. Gay
Advisor

Java install on alternate root

I have installed Java 1.4.2 at /u05/opt from depot at /var/adm/sw and swinstall leaves behind a needs_config file at /u05/var/adm/sw with an indication that this needs to be fed to swconfig after reboot. But, swconfig won't work with anything not installed at / apparently. I'm attaching the needs_config and swagent.log. Thanks for any help.
3 REPLIES 3
RAC_1
Honored Contributor

Re: Java install on alternate root

How did you install under /u05?? And why??
If your concern is about having multiple versions of java, get depots from HP and they will gointo seperate dirs. like /opt/java1.4
, /opt/java1.3 etc. No need to do instllation like yours. You can also specify Java homes as follows.

JAVA2_HOME=/opt/java1.2
JAVA3_HOME=/opt/java1.3
JAVA4_HOME=/opt/java1.4


Hope this helps.

Anil
There is no substitute to HARDWORK
Ray H. Gay
Advisor

Re: Java install on alternate root

/opt was short on space. I was trying to avoid shuffling all the file systems for space; then I did find some available extents to extend the volume. Now I understand the alternate root install is only for a distribution source.

Thanks.
Ray H. Gay
Advisor

Re: Java install on alternate root

Prior post.