10.07.2015 Views

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

}else{m_shAnnouncementStatus = -1;m_bFinished = true;}To get the agent to compile successfully, STComm.jar must be on Notes’classpath. There are a couple of different ways to achieve this:1. Import the jar file into the Java agent itself. Open the agent in Designer andclick on the Edit Project button. Navigate to the location of the STComm.jarfile and click the Add/Replace file(s) button (Figure 6-1).Figure 6-1 Adding toolkit jar file to agent project2. Importing files into your agent project in the way discussed above makes youragent very inefficient. To improve performance, you can add these files toyour classpath by directly specifying them in the Notes.ini file of your Notesclient. If the agent is to run on the server or on a schedule, you will need to getyour Domino administrator to modify the server’s Notes.ini. In either case, youwill need to add the following line and restart your client or server:JavaUserClasses=C:\STComm.jar144 <strong>Lotus</strong> <strong>Instant</strong> <strong>Messaging</strong>/<strong>Web</strong> <strong>Conferencing</strong> (Sametime): Building Sametime-Enabled Applications

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!