Re: Attempting to upgrade Java because of HIGH vulnerability leaves old bundle (151 Views)
Reply
Advisor
Mick_chair
Posts: 18
Registered: ‎11-26-2009
Message 1 of 3 (177 Views)
Accepted Solution

Attempting to upgrade Java because of HIGH vulnerability leaves old bundle

Machine - rx8640 runing 11.31 - QPK September 2011

 

Q)  Is there a way of upgrading java ( because of high vulnerability) ?

 

nearly every machine that I have tried leaves an empty depot of the previous version - and some like the example below leave the previous version

 

swinstall -x mount_all_filesystems=false -s hpignite:/SOFTWARE/apps/Java/Java6 Jdk60 Jre60

 

# swlist -l product | grep -i java
  Jdk15                 1.5.0.26.00    Java 1.5 JDK
  Jdk60                 1.6.0.14.00    Java 6.0 JDK  *  can't remove his as vmmgr has a dependency on it
  Jdk60                 1.6.0.15.00    Java 6.0 JDK
  Jre15                 1.5.0.26.00    Java 1.5 JRE
  Jre60                 1.6.0.15.00    Java 6.0 JRE

* swremove -x autoreboot=true  -x mount_all_filesystems=false Jre15,-r=1.6.0.14.00

 

Thanks Mike

 

 

 

 

 

 

swremove -x autoreboot=true  -x mount_all_filesystems=false Jre15,-r=1.5.0.21.00

Acclaimed Contributor
Dennis Handly
Posts: 25,303
Registered: ‎03-06-2006
Message 2 of 3 (167 Views)

Re: Attempting to upgrade Java because of HIGH vulnerability leaves old bundle

>leaves an empty bundle of the previous version

 

Empty bundle or empty directory tree?  The former can be removed with a swremove trick.

 

>some like the example below leave the previous version

 

>  Jdk60                 1.6.0.14.00    Java 6.0 JDK  *  can't remove his as vmmgr has a dependency on it

 

What's the exact error you get from swremove?

 

>* swremove -x autoreboot=true  -x mount_all_filesystems=false Jre15,-r=1.6.0.14.00

 

The man page indicates you shouldn't have that "-" before the "r=".

Advisor
Mick_chair
Posts: 18
Registered: ‎11-26-2009
Message 3 of 3 (151 Views)

Re: Attempting to upgrade Java because of HIGH vulnerability leaves old bundle

dennis - thanks - School boy error the depot was not built correctly thanks for you input
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.