The StreamBase Client API's libraries must be added to the current project's Java build Path before you can access classes in the Client API. The Java build path is a list of paths visible to the Java compiler when a project is built.
The StreamBase Client API is usually added to a project's Java build path in the New StreamBase Project dialog at project creation time. If you check that dialog's Add the StreamBase Client API checkbox, then this project already references the Client API library.
If you need to add the Client API for an existing project, follow these steps:
-
Open the Properties dialog for the current StreamBase project. First, select the project in the Package Explorer. Then:
-
Right-click and select Properties from the context menu, or
-
Invoke → from the main Studio menu, or
-
Press Alt-Enter.
-
-
In the project's Properties dialog, open the Java Build Path page.
-
Open the Libraries tab.
-
Click the button.
-
Select StreamBase Client API and click .
-
On the next dialog page, click .
-
Click OK.
See also: StreamBase Project Properties
