When installing Oracle VM Utilities on an Oracle Linux server or desktop
computer, you may put them in the installation directory of your
choice, for example: /usr/local/bin
. The
Oracle VM Utilities are bundled in a .zip
archive.
To install, simply download the archive, copy and extract in the
appropriate directory.
# cpovm_utils_archive
.zip /usr/local/bin/oracle/ # cd /usr/local/bin/oracle # unzipovm_utils_archive
.zip
Oracle VM Utilities do not work with
the Open JDK or GNU Compiler for Java (GCJ). You must install
a standard Java VM, version 1.6 or above, and make sure it is
defined as the default Java VM by the
JAVA_HOME
environment variable or included
in the PATH
variable on your system.
The command line scripts in Oracle VM Utilities execute a Java program and use the default Java VM on the host computer. To verify the exact path to the Java executable and the active Java version, use the following commands:
# which java /usr/java # java -version java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java(TM) Server VM (build 20.1-b02, mixed mode)
If a standard Java VM version 1.6 or above is not available on your system, download and install the version suited for your platform from:
To make sure the correct Java VM version is used, set the
JAVA_HOME
and PATH
variables as follows:
Edit the Oracle Linux shell profile.
# vi /etc/profile
or
# vi /etc/bashrc
Add the lines below to the profile. If your Java path does not match
/usr/java
, replace with the actual path on your system.JAVA_HOME=
/usr/java
export JAVA_HOME PATH=$PATH:$JAVA_HOME/bin export PATHSave the file. Log out and log back in to activate your changes.
Verify the Java path and version again, to make sure that the correct Java VM is used.
# which java /usr/java # java -version java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java(TM) Server VM (build 20.1-b02, mixed mode)
The command line scripts are now ready to use.