Adding Rational® Rhapsody® library to project build path

In order to build your Java application, you have to specify the location of the rhapsody.jar file as well as the location of the native library that is required.

About this task

To add the library to the build path of the project:

Procedure

  1. In the Package Explorer View, right-click the project you created, and then select Build Path > Configure Build Path.
  2. Go to the Libraries tab and click Add External JARs.
  3. Select rhapsody.jar, under <Rational Rhapsody installation path>\Share\JavaAPI
  4. After rhapsody.jar has been added to the list, expand it and set the Native library location to <Rational Rhapsody installation path>\Share\JavaAPI
    Properties for FirstPlugin window showing Libraries tab

Feedback