Setting Up the Development Environment

To set up your development environment, you must first download the Oracle Database Security Central SDK, and then set up the operating system environment.

To set up your environment for developing collection plug-ins you must follow these steps to download the SDK, and then configure the operating system folders, environment variables, and paths.

To download the SDK, do the following:

  1. Log in to the Oracle Database Security Central console as an administrator.

  2. Click the Settings tab.

  3. Click the System tab in the left navigation menu.

  4. Click the Plug-ins link under the Monitoring section on the main page.

  5. In the Plug-ins dialog, click Download SDK.

  6. Unzip the SDK into an empty directory.

  7. Set the AV_SDK_HOME variable to the directory to which you extracted the SDK.

    For example:

    $ export AV_SDK_HOME=/home/username/avsdk

  8. Set the PATH environment variable to bin directory of the Audit Vault Server.

    For example:

    $ export PATH=$AV_SDK_HOME/bin:$PATH

    This setting enables you to use existing scripts during the development cycle.

  9. Set the CLASSPATH environment variable to include the $AV_AGENT_HOME/av/jlib/agentre.jar for your collection plug-in project.

    For example:

    $ export CLASSPATH=$AV_SDK_HOME/av/jlib/av.jar:$AV_SDK_HOME/av/jlib/av-common.jar:$AV_AGENT_HOME/av/jlib/agentre.jar

  10. Create directories as necessary.

  11. If you are using Java, ensure that the environment is set to point to the appropriate JDK (PATH and JAVA_HOME variables).

    Compile your classes with JDK by setting the -target option of the javac compiler to the same version. Refer to the JDK documentation for details.

Related Topics