Configuring the Classpath for the PowerCenter Client
Configuring the Classpath for the
PowerCenter
Client
You can add jar files or class file directories to the
PowerCenter Client
classpath.
To set the classpath for the machine where the
PowerCenter Client
runs, complete one of the following tasks:
Configure the CLASSPATH environment variable. Set the CLASSPATH environment variable on the
PowerCenter Client
machine. This applies to all java processes run on the machine.
Configure the the classpath in the Java transformation settings. This applies to sessions that include this Java transformation. The PowerCenter Client includes files within the classpath when it compiles the java code.
To add jar or class file directories to the classpath in a Java transformation, complete the following steps:
On the
Java Code
tab,
click the
Settings
link
click the down arrow icon in the
Value
column next to
Classpath
.
The
Settings
dialog box appears.
Click Browse under
Add Classpath
to select the jar file or class file directory for the imported package. Click
OK
.
Click
Add
.
The jar or class file directory appears in the list of jar and class file directories for the transformation.
To remove a jar file or class file directory, select the jar or class file directory and click
Remove
.
The directory disappears from the list of directories.