ConnectorLib Java 23.4

# Build the Connector

The connector code can be built and archived into the required JAR file using the following command line commands:

    javac -cp JavaConnector.jar -d build src\myconnector\*.java

    jar cf dist\myconnector.jar -C build .

The javac and jar executables can then be found in the Java JDK 'bin' directory (on Windows this is usually something like: `c:\Program Files\Java\jdk1.7.0_45\bin\`)

These build commands assume that `JavaConnector.jar` is in the current directory, the `build` and `dist` directories exists, and that all source files are in the `src/myconnector` directory.

Any other dependencies of your connector should be included in the `classpath` argument of the `javac` command.

NOTE: Use Java JDK 1.5 or later to build the connector.

Copyright 2022 Open Text
Version 23.4 | Last updated September 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL ConnectorLib Java 23.4

Topic Title: Build the Connector