Upgrading the public JRE fails When Running PowerChute Network Shutdown on Windows.
Issue:
Upgrading the public JRE fails When Running PowerChute Network Shutdown on Windows.
Product:
PowerChute Network Shutdown
Environment:
All support Windows OS
Cause:
If your installation of PowerChute on Windows uses a public JRE rather than the private JRE available through PowerChute, and you attempt to upgrade your JRE version through Windows the upgrade installation will fail.
Solution:
Stop the PowerChute service, perform the JRE upgrade and then re-start the PowerChute service.
Note: If you uninstall the version of Java that PowerChute was using then you will need to edit the javaVersionFile.log file in the PowerChute folder to point PowerChute to the updated path of Java. Example
Java Virtual Machine Details
Version : 1.8.0_102
Location : C:\Program Files\Java\jre1.8.0_102
Also Note: you will need to edit the PowerChute JRE entry in the system registry to reflect the now location of the JRE.
Example: HKLM\SYSTEM\CurrentControlSet\services\PCNS1
Application C:\Program Files\Java\jre1.8.0_102\bin\java.exe
Warning: Using the Registry Editor incorrectly can cause serious system wide problems that may require you to reinstall Windows to correct them. Schneider Electric and Microsoft can not guarantee that any problems resulting from the use of Registry Editor can be solved.