Skip to content, Skip to search


Downloading and Building Fiji From Source

221 bytes added, 09:15, 9 July 2019
Add step about installing OpenJDK 8
{{FijiMenu}}The complete Fiji distribution of ImageJ consists of over a hundred individual components. Most of these components are ImageJ [[plugins, ]]; the rest are core libraries, [[scripts, the ImageJ launcher ]] and several other resources (such as the [[:File:Fiji-icon.png|Fiji logo ]] and the README).
In the past, Fiji used to be built from one monolithic source code repository, which became unmanageable over the time. These days, therefore, developers start from a fully-populated '''' directory and build only the parts they would like to change.
= Download Fiji =
The first step is the same for developers as it is for users: [[Downloads|Download]] Fiji, and unpack it (the . The Desktop is the recommended location). = Install Java = The next step is to install [ OpenJDK 8]. You will need a JDK in order to develop Java code.
= Check out and build individual plugins/libraries =
Each individual component is maintained in its own repository in the [ ''fiji'' org on GitHub]. The name of the repository corresponding to a given ''.jar'' file is essentially identical with the file name, except that trailing underscores are stripped. Example: ''Stitching_.jar'' is maintained in the repository at, ''Time_Lapse.jar'' in the repository at
If in doubt about the location of the repository, just call ''{{bc | Plugins>| Debug>| System Information'' }} and find the section corresponding to the file in question.
Once the developer has identified which plugin or library she wants to modify or develop further, it is very easy to build and contribute by following [[How to contribute to an existing plugin or library|this tutorial]].
<source lang="bash">
$ mvn$HOME/Desktop/
[INFO] Scanning for projects...
[... lots and lots of interesting and useful information ...]
Bureaucrat, emailconfirmed, incoming, administrator, uploaders