Creating a JRE System Library

You must configure Eclipse to use the JRE installed with Isight to ensure compatibility of your component with the Java Runtime Environment (JRE) used by Isight. To do this, you can create a JRE System Library configured to point to the Isight directory and use this JRE System Library in your project.


Before you begin:

Ensure that you have created a java project (see Configuring Eclipse for Isight Application Development).

  1. Launch Eclipse.

    The Eclipse editor appears.

  2. In the Package Explorer area, right click the project and select Build Path -> Configure Build Path.

    The Properties dialog box appears.

  3. Click the Libraries tab, and click Add Library.

    The Add Library dialog box appears.

  4. Select JRE System Library, and click Next.

    By default, the Workspace default JRE option is selected.

  5. If you want to select another JRE, select Alternate JRE, and click Installed JRE.

    The Preferences (Filtered) dialog box appears.

  6. Select the JRE from the Installed JREs list, and click Add.

    The ADD JRE dialog box appears.

  7. Select Standard VM, and click Next.

  8. In the JRE home text box, enter the following:

    <Isight_install_directory>/<operating_system>/code/jre

  9. Click Finish to exit the Add JRE dialog box.

  10. Click OK to close the Preferences (Filtered) dialog box.

  11. Click Finish to close the Add Library dialog box.

  12. Click OK to exit the Properties dialog box and to return to the Eclipse editor.