HP P9000 Command View Advanced Edition Suite Software 7.4.0-00 Administrator Guide (web) (TB581-96325, December 2012)

Table Of Contents
ModelRaidID
P9500
R700
javapath_setup command
The javapath_setup command is used to switch the Java execution environment used on the Device
Manager agent when the host OS is Windows or Linux. The javapath_setup command is stored
in the following location:
In Windows:
installation-folder-for-Device-Manager-agent\bin\javapath_setup.exe
In Linux:
/opt/HDVM/HBaseAgent/bin/javapath_setup.sh
The following table describes the javapath_setup command syntax.
Table 105 javapath_setup command syntax
DetailsItem
javapath_setup {-set [new|bundle|Java-execution-environment-install-
ation-path]|-check}
Synopsis
This command is used to switch the Java execution environment used on the Device Manager
agent.
This operation requires Administrator or superuser privileges. If the OS is Windows Server
2008, Windows Server 2008 R2 or Windows Server 2012, the command must be executed
from a command prompt started as an Administrator.
Caution: If Hitachi Dynamic Link Manager is installed on the host, use a 32-bit Java execution
environment.
Description
-set [new|bundle|Java-execution-environment-installation-path]
Specify this option to switch the Java execution environment. If you do not specify an argument
for this option, the command assumes that you have specified new as an argument.
new
Specify this argument to select the latest version of the Java execution environment from
Oracle JDK and Oracle JRE installed on the host.
If the versions of the installed JDK and JRE are the same, the JDK takes precedence.
bundle
Specify this argument to select the Java execution environment bundled with the Device
Manager agent.
Java-execution-environment-installation-path
If you want to use a specific Java execution environment, specify the absolute path of the
installation path.
Options
-check
Specify this option to check the latest version of the Java execution environment from Oracle
JDK and Oracle JRE installed on the host.
Administrator Guide (Web Version) 261