Skip to main content

Developing ImageJ in Eclipse

This article explains how to install and configure Eclipse for use with ImageJ development. Directions correspond to Eclipse 3.7 Indigo, and may need adjustment for other versions.

 

Install and configure Eclipse

 

Install required Eclipse plugins

 

Check out ImageJ

  1. Choose File > Import from the Eclipse menu
  2. Select "Check out Maven Projects from SCM" and click Next
  3. For SCM URL, choose "svn" and enter: http://dev.imagejdev.org/svn/imagej/trunk
  4. Click Finish
  5. When the Maven Projects dialog appears, click Select All and Finish.

Alternately, if you already checked out the source code outside Eclipse, you can use the File > Import Existing Maven Projects command to import the projects instead.

 

Launch the program

  1. In the Package Explorer, expand the project called "ij-app"
  2. Navigate into src/main/java
  3. Navigate into imagej
  4. Right-click on Main.java
  5. Choose "Run As" and then "Java Application"