Install ImageJ in Ubuntu Linux

Here’s a better way to install ImageJ for Linux.

  1. Download the latest ImageJ to ~ (or if you want, a user-writeable /opt/ImageJ/)
  2. unzip the archive to ~/ImageJ recursively

     unzip ij*linux64*.zip
    
  3. setup alias, add line to ~/.bash_aliases

     alias imagej=~/ImageJ/ImageJ
    

Now you can start ImageJ by typing in Terminal

imagej

Create Ubuntu icon for ImageJ

Create a file ~/.local/share/applications/imagej.desktop with contents:

#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Exec=~/ImageJ/ImageJ
Name=ImageJ
Icon=~/ImageJ/images/icon.png

Troubleshoot ImageJ install

    ~/ImageJ/ImageJ

should open ImageJ properly.