Skip Headers
Oracle® Enterprise Data Quality for Product Data Java API Interface Guide
Release 5.6.2

Part Number E23725-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

6 Compiling and Running with the API

Compile the Application with the Oracle DataLens Libraries

To compile your class with the Oracle DataLens Server client calls, the Oracle DataLens Server client libraries (edqp-api.jar and edqp-apiimports.jar) will need to be part of your CLASSPATH.

These jar files are located in the \DevToolKit\java_api\lib directory.

Put this into either the CLASSPATH environment variable or use in the command-line Java compile as shown follows:

javac -classpath " edqp-api.jar; edqp-apiimports.jar" WfgClientTest.java

This creates the WfgClientTest.class file that is part of your application.

Run the Application with the Oracle DataLens Libraries

The Oracle DataLens Server libraries need to be referenced when running an application that accesses the Oracle DataLens Server.

The following is an example of running the program compiled in the previous example.

java  -cp " edqp-api.jar; edqp-apiimports.jar;.;" WfgClientTest

In this case, we are using the API and the edqp-apiimports libraries, running the Java class file that we just compiled.