Patches
cancel
Showing results for 
Search instead for 
Did you mean: 

Attempting to upgrade Java because of HIGH vulnerability leaves old bundle

SOLVED
Go to solution
Mick_chair
Advisor

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

2 REPLIES
Dennis Handly
Acclaimed Contributor
Solution

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=".

Highlighted
Mick_chair
Advisor

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