To run Java API programs, make sure your execution environment includes:
- Java Runtime Environment (JRE) 6 Update 17.
- Required JAR files in the CLASSPATH environment variable or the java command -classpath command-line parameter. Include all the JAR file in the lib directory listed in Contents of the BMC Remedy BMC Remedy AR System Java API installation.
- C API library files in the lib directory in the correct path:
- AIX, Linux, and Solaris — LD_LIBRARY_PATH
- HP-UX — SHLIB_PATH
- Windows — PATH
Installing BMC Remedy Encryption Premium Security changes any active Java installation. If you install BMC Remedy Encryption Premium on a system that is running a client written using the BMC Remedy AR System Java API and later change the Java installation by installing a different version of the Java Runtime Environment (JRE) or Java Development Kit (JDK) or switching the system from one installed Java version to another, you must reinstall BMC Remedy Encryption Premium to ensure that the new or other Java installation has the changes that installation makes.
Changing the default configuration
To override the default Java API configuration, create the arsys_api.xml configuration file and make sure it is in the CLASSPATH environment variable or the java command -classpath command-line parameter. See the sample configuration file, arsys_sample.xml, in the lib directory for descriptions, valid values, and default values for the API configuration options.
Running the Java driver program
To run the Java driver program, test your environment by running the BMC Remedy AR System server and the JavaDriver program. This program illustrates the capabilities of the BMC Remedy AR System Java API. The JavaDriver program works almost exactly the same as the C driver program.