APM 10.7 HF 84 upgrade Errors : java.io.IOException: Cannot update JRE
search cancel

APM 10.7 HF 84 upgrade Errors : java.io.IOException: Cannot update JRE

book

Article ID: 272673

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

While upgrading the APM 10.7.0.192 build 992906 with APM 10.8 HF84, receive the following error:

Notes that all services were stopped before

Environment

Release : 10.7.0

Windows 

Cause

The error is because the upgrade is using the JRE that is installed with APM.

Resolution

To install APM 10.7 hotfix84, need to have a separate JRE installed. 

Example command:

D:\Program Files\CA APM\Introscope10.7.0.45>"c:\<path to jre>\bin\java.exe"  -jar APM10.7.0HF84.jar

Extract from the APM 10.7 HF 84 Readme file:

Since hotfix #84, it is not possible to execute this hotfix with the JRE present in the product installation in `jre` directory. This is because hotfix #84 and later
will update the `jre` directory with newer JRE.

To execute this hotfix on AIX, use IBM Java 8 Service refresh 5 fix pack 5 or later.

On other platforms, use JRE 8 build 112 or later.

Execute: java -jar APM10.7.0HF84.jar

Or if you want to apply this hotfix remotely, then specify the HOME directory of the product component(s) as an argument.

Example on Windows: java -jar APM10.7.0HF84.jar --product-dir "C:\Program Files\CA APM"