Configuring the Build Path

You must add certain JAR files from your Isight installation to the build path to compile the application successfully.


Before you begin:

The SMAFIPsdk.jar file is the only file needed to compile this example code and may be the only file you need to compile your application. You can also add the following common JAR as you work on your application:

<Isight_install_directory>/<operating_system>/docs/java/SMAFIPdesktopSDK.jar

If your compilation encounters errors in the future, you can add this JAR file and other JAR files found in <Isight_install_directory>/<operating_system>/docs/java/ to correct the errors.

Only SMAFIPsdk.jar and SMAFIPdesktopSDK.jar are considered public API that are guaranteed to maintain compatibility in future releases. Classes found in the other jar files are subject to change, which could require you to recompile your application for it to work in future releases.

  1. From the Eclipse editor, right-click on your project and select Build Path -> Add External Archives.

  2. Select your <Isight_install_directory>/<operating_system>/docs/java/SMAFIPsdk.jar file, and click Open.

    Eclipse attempts to compile the code automatically as you make changes to the project. Any compilation errors will be displayed in Eclipse’s Problems area.