Technical FAQs

Ask a Question

PowerChute Business Edition does not install successfully on Red Hat Enterprise Linux 7.x and Oracle Linux 7.x

PowerChute Business Edition (PowerChute) does not install, the following error message is displayed:
       ./ 130: /bin/java/jre/<jre version>/bin/java: Not a directory

Product Line:
PowerChute Business Edition

OS: Red Hat Enterprise Linux (RHEL) 7.x x64, and 
Oracle Linux 7.x x64
Build: PowerChute Business Edition 9.1.0, 9.1.1, 9.2, 9.0.1, 9.0.2, 9.0.3 OEM Basic and 25 Node Deluxe

OpenJDK is installed in the directory used by PowerChute for the bundled private Java Runtime Environment (JRE).


This issue has been resolved in PowerChute Business Edition version 9.2.1 and 9.0.4 availabe at this link

Note:  Though an error message is displayed, a PowerChute directory is created that is used to resolve the issue in Step 4.

1 - Install standalone x86 Java JRE. The RPM Package Manager installs the JRE in the /usr/java/ directory.

     Note: We recommend installing the version of the Java JRE that was originally packaged with PowerChute:  
            9.2.0/9.0.3       JRE jre1.8u31

            9.1.1/9.0.3       JRE jre1.7u25
            9.1.0/9.0.2       JRE jre1.6u37
            9.0.0/9.0.1       JRE jre1.6u19 

2 -  Download the JRE Config Tool to change the location of the Java JRE used by PowerChute to the  JRE version installed in step 1:

3 - Run the JRE Config Tool.
     When prompted, enter the new system JRE directory e.g. (/usr/java/jre1.7.0_25) and answer Yes to all prompts in order to change the JRE used by PowerChute.

4 –
For all versions mentioned above navigate to the PowerChute directory and edit the script file to use the new Java JRE as follows:
  •      cd /opt/APC/PowerChuteBusinessEdition/Agent
  •      Edit and change the location of the Java JRE directory:
             /bin/java/jre/1.7.0_25/bin/java -jar ./lib/pcbeconfig.jar $1 $2 $3 $4 $5
            /usr/java/jre1.7.0_25/bin/java -jar ./lib/pcbeconfig.jar $1 $2 $3 $4 $5

5 – For versions 9.0.1, 9.0.2 and 9.0.3 edit script file also to make the following additional update. Change:
/bin/java/jre/1.7.0_25/bin/java -classpath ./lib/m11.jar:./lib/pcbe_ds.jar:./lib/dom4j-1.5.jar:./lib/jaxen-1.1.4.jar:./comp/MicroLinkPowerSource.jar:./lib/MakeUsageDescriptorMap.jar com.apcc.MakeUsageDescriptorMap.MakeUsageDescriptorMap ./m11.cfg ./lib/ulDictMaster.xml 1>/dev/null
/usr/java/jre1.7.0_25/bin/java -classpath ./lib/m11.jar:./lib/pcbe_ds.jar:./lib/dom4j-1.5.jar:./lib/jaxen-1.1.4.jar:./comp/MicroLinkPowerSource.jar:./lib/MakeUsageDescriptorMap.jar com.apcc.MakeUsageDescriptorMap.MakeUsageDescriptorMap ./m11.cfg ./lib/ulDictMaster.xml 1>/dev/null
6 - Run the configuration file

7 - PowerChute should be communicating with the UPS and should be fully configurable. Launch PowerChute in the web browser to verify.
Was this helpful?
What can we do to improve the information ?