Setting up your environment to use the Validation PDK

To use the Validation PDK with Unica Campaign, you must modify your path and set the JAVA_HOME environment variable.

The Validation PDK can be installed on any machine, but the plug-ins that you create with it must be on the machine where Unica Campaign is running. We recommend that you install the PDK on the machine where you are testing your plug-ins.

The PDK requires you to have Apache Ant and a Sun Java developer kit on your machine to create Java plug-ins. To ensure compatibility, use the Ant and JDK packages that come with your application server.

To set up your environment to use the Validation PDK:
  1. Add the folder containing the Ant executable to your path. Two examples are provided.
    • For WebLogic 11gR1 installed in the default directory on Windows, add the following to your path: C:\Oracle\Middleware\wlserver_10.3\common\bin
    • For WebSphere® 7.0 installed in the default directory on Windows, add the following to your path: C:\HCL\WebSphere\AppServer1\bin
  2. Set the JAVA_HOME environment variable to the directory containing the bin and lib directories of the JDK. Two examples are provided.
    • For WebLogic 11gR1 on Windows, set JAVA_HOME to C:\Oracle\Middleware\jdk160_18
    • For WebSphere® 7.0 on Windows, set JAVA_HOME to C:\HCL\WebSphere\AppServer1\java\jre