# Creating the Component Interface Jar File

The `SailpointPeopleSoftCompInt.jar` file contains the PeopleSoft component interface java classes. It must be generated from the respective PeopleSoft resource and then copied into the SailPoint classpath.

> [!NOTE]
>
> - The `psjoa.jar` is the jar file taken from the location where the PeopleSoft server is installed. Whenever there is an upgrade/patch application with the PeopleSoft Tools/Server, this jar file must be recreated and placed in the classpath.
> - For the `SailPointPeopleSoftCompInt.jar` file, after any upgrades in PeopleTool versions, recreate the file to upload instead of the old/existing jar file.

Complete the following steps to create the `SailPointPeopleSoftCompInt.jar` file from the component interface java files.

1. Logon to PeopleSoft Application Designer in two tier mode.
2. Open the Component Interface project and open all the component interfaces by double clicking each component interface. For example, **SAILPOINT\_USERS**.
3. From the menu select **Build \> PeopleSoft APIs**.

   The Build PeopleSoft API Bindings window is displayed.
4. From the Build PeopleSoft API Bindings window, select the **Build** checkbox in the java classes frame and clear the **COM Type Library** and **C Header Files Build** checkboxes.
5. In the **Select APIs to Build** dropdown list, select the following options:

   - `CompIntfc.CompIntfcPropertyInfo`
   - `CompIntfc.CompIntfcPropertyInfoCollection`
   - PeopleSoft.\* (all Component Interfaces that begin with the prefix PeopleSoft)
   - `CompIntfc.SAILPOINT_*` (all Component Interfaces that begin with the prefix `CompIntfc.SAILPOINT_`)

   > **Note**
   >
   > If you need to generate component interface Java files for the entire group of component interfaces select **ALL**.
6. Create a directory to deploy the Java files. For example, if you specify `C:\CI` as the file path, then the component interface Java files are generated in `C:\CI\PeopleSoft\Generated\CompIntfc`.
7. Compile the Java files by performing the following steps:

   1. Open the command prompt and change directories to the folder where the generated Java files are located. For example, `C:\CI`.
   2. Go to the `PeopleSoft\Generated\CompIntfc\` directory.
   3. Run the following command:

      ```text
      javac -classpath %PT8.53%\class\psjoa.jar *.java
      ```

      Where `%PT8.53%` is the location that PeopleSoft is installed.

      > **Important**
      >
      > Ensure that the Java compiler used for compiling the generated Java files is compatible with the Java provided with the PeopleSoft installation that needs to be managed.
   4. (*Optional*) You can delete all the generated Java files from the existing directory, however, do not delete the `.class` files.
8. Perform the following steps to package the compiled files as the `SailPointPeopleSoftCompInt.jar` file:

   1. Open the Command Prompt window and go to the newly created directory. For example, `C:\CI`
   2. Run the command: `jar -cvf SailPointPeopleSoftCompInt.jar *`
9. Upload the generated `SailpointPeopleSoftCompInt.jar` and `%PS_HOME%\class\psjoa.jar` files where PeopleSoft Direct Source is created on the [Base Configuration](<https://documentation.sailpoint.com/connectors/oracle/peoplesoft_erp/va/help/connecting.html#base-configuration>) page.
