Procedure for installing Cloud Infrastructure Java API.
The Java Client API is delivered as a package with the Oracle Enterprise Manager Ops Center product. You can install this standalone package on a system that has a connection to the Enterprise Controller.
Package Name | Operating System |
---|---|
|
Oracle Solaris |
|
Linux |
To install this package, enter the following commands as root user:
For Oracle Solaris:
# cd <repo>/src/dvd/SunOS_i386/Product/components/packages/ # pkgadd -d ORCLsysman-iaas-api.pkg
For Linux:
# cd <repo>/src/dvd/Linux_i686/Product/components/packages/ # rpm -i orcl-sysman-iaas-api.rpm
After installation, the API jar files are in /opt/oracle/iaas/iaas-java-api
.
Before you use the API jar file, set the JAVA_HOME
environment variable and ensure that the environment variable is part of your PATH:
Korn and bash shells:
export JAVA_HOME=<jdk-install-dir> export PATH=$JAVA_HOME/bin:$PATH
Bourne shell:
JAVA_HOME=<jdk-install-dir> export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH
C shell:
setenv JAVA_HOME <jdk-install-dir> setenv PATH $JAVA_HOME/bin:$PATH export PATH=$JAVA_HOME/bin:$PATH