How To
Summary
PowerVP 1.1.3 requires Java 1.7 to run. If you have Java 1.8 installed on your system you can force Java 1.7 to be used by setting the $JAVA_HOME environment variable.
Objective
This document will demonstrate how to set the $JAVA_HOME environment variable to force PowerVP to use Java 1.7.
Environment
AIX 7.1 and PowerVP 1.1
This document assumes PowerVP has been installed to the /IBM/PowerVP directory.
Steps
When the PowerVP GUI is started from the command line : /launch-powervp
You may get this error if Java 1.8 is installed:
-javaagent:/IBM/PowerVP/PowerVP_Installation/PowerVP_GUI_Ins tallation/wlp/bin/tools/ws-jav aagent.jar: illegal argument Usage: java [-options] class
If it is, you can set the $JAVA_HOME environment variable to point to Java 1.7. The PowerVP documentation says 1.7 is required, and it has not been tested on 1.8.
Run the command env | grep -i java to find a version of Java 1.7 which is installed. A customer found 1.7 was installed here:
/usr/java7_64/jre/bin
The JAVA_HOME environment variable is checked by the /IBM/PowerVP/PowerVP_Installat
export JAVA_HOME=/usr/java7_64/jre
NOTE: You do not need to add the "/bin" at the end. If PowerVP fails to start correctly make sure that you set the environment variable correctly by checking the log:
/IBM/PowerVP/PowerVP_Installat
ion/PowerVP_GUI_Installation/w lp/usr/servers/powervp/start.l og
Remember to copy the server.xml file from the /IBM/PowerVP/PowerVP_Installat
to /IBM/PowerVP/PowerVP_Installat
You should then be able to start PowerVP with the ./launch-powervp command and access the PowerVP GUI with the URL: http://localhost:port/powerVPW
Going forward, the JAVA_HOME variable will need to be set right on the console that starts the PowerVP GUI. The system will not automatically restart the PowerVP GUI, so if that is desired an entry will need to be added to the /etc/rc.d/rc2.d directory. (This differs from the Agents, which do automatically add a start script.)
Related Information
Product Synonym
PowerVP
Was this topic helpful?
Document Information
Modified date:
19 September 2018
UID
ibm10719555