To use the Replication Agent for Oracle with XStream APIs, use the setenv function to set or modify ORACLE_HOME, LD_LIBRARY_PATH, and CLASSPATH environment variables.
Download and install the appropriate XStream JDBC driver from the Oracle Web site for your primary Oracle database environment in which Replication Agent resides.
Make sure your Java Runtime Environment (JRE) is compatible with your Oracle database for using XStream APIs. For example, if you have installed 64-bit Oracle, use the 64-bit JRE 1.7.x. See the Oracle documentation.
By default, Replication Agent uses 64bit JRE when creating an instance with the XStream APIs Log Reader component.