Install ImageJ in Ubuntu Linux

How to install ImageJ for Linux without sudo. This method also works for Raspberry Pi and other ARM systems.

  1. Install Java JRE
    apt install openjdk-9-jre
    

    OR

    apt install openjdk-8-jre
    
  2. Download latest platform independent ImageJ.
  3. unzip to ~/ImageJ recursively
    unzip ij*.zip -d ~
    
  4. add line to ~/.bash_aliases
    alias imagej="(cd $HOME/ImageJ; ./run)"
    
  5. close and reopen your Terminal, then Start ImageJ by typing in Terminal
    imagej
    

Create app icon

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
Categories=AudioVideo;Video;Science;

Notes

If you can’t open ImageJ via the menu/icon,

~/ImageJ/ImageJ

should open ImageJ properly.

Tags:

Categories:

Updated:

Leave a Comment