This is an archive of the old MediaWiki-based ImageJ wiki. The current website can be found at imagej.net.

Developing ImageJ on the command line

Development
Topics
Overview
Philosophy
Architecture
Source code
Project management
Coding style
Debugging
Tools
GitHub
Git
Maven
IDEs
Travis
AppVeyor
Dotfiles
Guides
Writing plugins
ImageJ Ops
Contributing to a plugin
Distributing your plugins
Development lifecycle
Building a POM
Developing with Eclipse
Hands-on debugging
Adding new ops
Adding new formats
Using native libraries
Tips for developers
Tips for C++ developers
ImageJ 1.x plugins
Versioning
Logging
Uber-JARs

This article explains how to install and configure command line tools for use with ImageJ development.

Install and configure command line tools

Win.png Windows

Install Git, Maven, and Java SE using Chocolatey:

choco install -y git maven jdk8

We also heartily recommend installing Cygwin:

choco install -y cyg-get

Osx.png OS X

Install Git and Maven using Homebrew:

brew install git maven bash-completion

Download and install Java SE from Oracle.

Tux.png Linux

sudo apt-get install default-jdk git maven

Download the source

git clone git://github.com/imagej/imagej

See the Source Code page for further details.

Build the source

cd imagej
mvn

Launch the program

mvn -Pexec

Launching alternative user interfaces


mvn -Dscijava.ui=swing -Pexec
mvn -Dscijava.ui=swing-mdi -Pexec
mvn -Dscijava.ui=awt -Pexec

See also

  • Dotfiles if you want to twink out your shell