CheckThread.org

Eclipse Plug-In

STEP 1: Download Eclipse Plugin

STEP 2: Install Eclipse Plug-in

  • The CheckThread Plug-In was developed and tested on Eclipse 3.2 (Europa).
  • The download includes everything you need:
    • Eclipse plug-in jar file
    • Java source examples
    • CheckThread annotation jar file that you wil add to your Java project
  • Unzip the plugin download into some directory on your file system.
  • Copy the Eclipse Plug-in jar file in the plugins/ directory into ECLIPSE_INSTALL/plugins/ where ECLIPSE_INSTALL is the location of your eclipse installation.
  • Alternatively, you can place the plug-in jar file into your user profile directory for Eclipse. Consult your Eclipse documentation for more information.
  • Restart Eclipse

STEP 3: Import CheckThread Annotations

  • The checkthread-annotation jar file is included in the Eclipse zip file download under the dist/ directory.
  • Import the checkthread-annotation jar file into your Java project.

STEP 4: Enable CheckThread

  • Click on the CheckThread toggle button at the top of your Eclipse toolbar (see screenshot below).
  • CheckThread will run whenver Eclipse builds your Java classes.
  • CheckThread errors will appear in the error strip to the left of the Editor and the Problems View window.
  • Unclick the toggle button to disable CheckThread.

The following is an Eclipse screenshot showing CheckThread enabled with a sample error being reported.

©2008 CheckThread