Download and install ImageJ or Fiji on Linux (Ubuntu, Debian, Fedora)
ImageJ and Fiji download for Linux: which zip to get from imagej.net, where to unzip it, how to start it, add a menu entry and fix errors. Java included.

Contents
Download Fiji (ImageJ with plugins) for Linux from the official page, imagej.net/software/fiji/downloads. On a usual Intel or AMD PC take Fiji Latest, Linux x86-64 (fiji-latest-linux64-jdk.zip); on an Arm machine take Linux arm64 (fiji-latest-linux-arm64-jdk.zip). Fiji Latest needs Ubuntu 22.04 LTS or later, or another distribution with glibc 2.34 or newer (Debian 12, Fedora 35 and RHEL 9 or later all qualify). For an older system there is Fiji Stable (fiji-stable-linux64-jdk.zip, Java 8).
To install it, unzip it into your home folder and start the launcher:
unzip ~/Downloads/fiji-latest-linux64-jdk.zip -d ~
~/Fiji/fiji-linux-x64
The zip unpacks to a folder called Fiji with Java 21 inside, so there is no installer and nothing else to install; Fiji starts with 75% of your RAM as its memory limit. Do not install ImageJ from your distribution's package manager: the ImageJ wiki recommends the Fiji download instead.
Checked in November 2026 against the Fiji download page, Fiji's launcher documentation and Fiji's own launcher configuration. Download pages change; if a file name differs, take the Linux download the official page recommends.
Which download for your Linux machine
Two commands in a terminal tell you what you need. uname -m prints x86_64 on a usual Intel or AMD PC and aarch64 on an Arm machine. ldd --version prints the glibc version on its first line: 2.34 or newer runs Fiji Latest.
| Download | Linux | Java | Choose it when |
|---|---|---|---|
| Fiji Latest, Linux x86-64 (fiji-latest-linux64-jdk.zip) | Intel or AMD, Ubuntu 22.04 LTS or later | Java 21, included | Almost always; the Fiji team recommends Latest for most users |
| Fiji Latest, Linux arm64 (fiji-latest-linux-arm64-jdk.zip) | 64-bit Arm, Ubuntu 22.04 LTS or later | Java 21, included | An Arm workstation, server or laptop |
| Fiji Stable, Linux x86-64 (fiji-stable-linux64-jdk.zip) | Any 64-bit Intel or AMD Linux | Java 8, included | An older distribution (glibc below 2.34, such as Ubuntu 20.04, Debian 11 or RHEL 8), Java 8, or an old plugin that breaks on Java 21 |
| Portable (no JDK) (fiji-latest-portable-nojava.zip) | Any | Bring your own Java 21 | Clusters and managed machines where Java is installed centrally |
| ImageJ 1.x for Linux (imagej.net/ij/download.html) | 64-bit Linux | Java 8, included | You want plain ImageJ without Fiji's plugins |
Each Fiji download is offered from three servers (US, UK and France) with the same files. Most people should take Fiji rather than plain ImageJ: it adds Bio-Formats for microscope files, TrackMate, Cell Counter, Coloc 2 and an updater. See Fiji vs ImageJ.
How to install Fiji on Ubuntu, Debian or Fedora, step by step
- Download the right zip from imagej.net/software/fiji/downloads. It usually lands in ~/Downloads.
- Unzip it into your home folder. In a terminal:
unzip ~/Downloads/fiji-latest-linux64-jdk.zip -d ~, which makes ~/Fiji (Fiji Stable makes ~/Fiji.app). If the shell says unzip is missing, install it first (sudo apt install unzipon Ubuntu and Debian,sudo dnf install unzipon Fedora). In a file manager, right-click the zip, choose Extract, and move the extracted Fiji folder into your home folder. - Start Fiji:
~/Fiji/fiji-linux-x64(fiji-linux-arm64on Arm). Equivalently,cd ~/Fijiand./fiji: that small script calls the right launcher for your machine. The first start takes a little longer. - Add it to the applications menu with a desktop entry (below), so you do not need the terminal again.
- Update it: Help › Update… runs the Fiji Updater. Restart Fiji when it asks.
Fiji is a portable application: everything, including its Java, lives in that one folder. To uninstall it, delete the folder.
Where to put Fiji: your home folder, not /opt
Fiji writes into its own folder all the time: the Updater replaces files, new plugins go into the plugins folder, and the memory setting is saved in the launcher's configuration. That is why the download page warns Windows users away from Program Files, and the same applies to root-owned folders on Linux such as /opt or /usr/local: there Fiji cannot update itself unless you run it as root, which you should not. Keep it in your home folder (~/Fiji, or ~/Applications/Fiji if you like a tidy home).
Do not start Fiji with sudo to "fix" an update either. Files the Updater then writes belong to root, and the next update as your normal user fails on them.
Add Fiji to the applications menu (desktop entry)
Linux desktops (GNOME, KDE Plasma, Xfce, Cinnamon and others) build their menus from small text files called desktop entries. Create one for Fiji in ~/.local/share/applications/fiji.desktop, with your own user name in the paths:
[Desktop Entry]
Type=Application
Name=Fiji
Comment=ImageJ with plugins, for scientific image analysis
Exec=/home/yourname/Fiji/fiji-linux-x64 %F
Icon=/home/yourname/Fiji/images/icon.png
Terminal=false
Categories=Science;Graphics;
- Use full paths. Desktop entries do not expand ~ or $HOME.
echo $HOMEprints the start of the path. - Exec is the launcher;
%Fpasses files you open with Fiji (the launcher opens images given to it). - Icon is the Fiji icon that comes in the images folder (Fiji uses the same picture as its splash screen).
Save the file, then search for Fiji in your applications menu or overview. From there you can pin it to the dock or panel like any other app. On Arm, put fiji-linux-arm64 in Exec instead.
Where ImageJ and Fiji keep their files on Linux
| What | Where |
|---|---|
| The program, plugins, macros, scripts, lookup tables | Inside the Fiji folder: plugins, macros, scripts, luts, jars |
| Fiji's own Java | java/linux64 (java/linux-arm64 on Arm) inside the Fiji folder |
| Fiji's launcher settings, including the memory limit | config/jaunch/fiji.cfg inside the Fiji folder |
| ImageJ's preferences (last folders, tool settings, options) | IJ_Prefs.txt in ~/.imagej (a hidden folder in your home) |
| Your images and results | Wherever you save them; Fiji does not move them |
To reset ImageJ's options, use Edit › Options › Reset… and restart.
How much memory to give ImageJ or Fiji
ImageJ can only use the memory Java was given at start-up. A stack bigger than that fails with an "out of memory" message even on a workstation with plenty of RAM.
- Fiji Latest starts with 75% of your RAM by default (the max-heap setting in its launcher configuration), which suits most people.
- To change it, use Edit › Options › Memory & Threads…, type Maximum memory in MB, click OK and restart. Fiji saves it as max-heap in config/jaunch/fiji.cfg.
- For a single session, start Fiji with
./fiji --mem=8g. - Keep the limit below about three quarters of your RAM, so that the desktop and your other programs keep enough.

Problems on Linux, and the fixes
- "Permission denied" when you start the launcher. The executable flag got lost, usually because a tool other than unzip extracted the archive. In the Fiji folder run
chmod +x fiji fiji-linux-x64 config/jaunch/jaunch-linux-x64(arm64 names on Arm), or unzip it again withunzip. - An error that mentions GLIBC_2.34, or nothing happens on an older distribution. Fiji Latest's launcher needs glibc 2.34 or newer. Check with
ldd --version; on Ubuntu 20.04, Debian 11, RHEL 8 or similar, use Fiji Stable, which also contains the older ImageJ-linux64 launcher. - Nothing happens when you double-click. Start it from a terminal with
./fiji --debug, which prints what the launcher does, and read the last lines. Some file managers open executables in a text editor or ask what to do on double-click; the desktop entry above avoids that. - "Out of memory". Raise the limit as above, or open big files as a virtual stack (File › Import › TIFF Virtual Stack…, or Use virtual stack in the Bio-Formats importer).
- Tiny menus and text on a high-resolution screen. The ImageJ wiki notes that ImageJ scales better on HiDPI screens with Java 9 or later, which Fiji Latest's Java 21 is. If the interface is still small, Java's own scaling setting can be passed through the launcher for one session:
./fiji -Dsun.java2d.uiScale=2 --. - A server or cluster without a screen. Run macros headless:
./fiji --headless -macro /path/to/macro.ijm. The Updater also works from the command line:./fiji --update update. - Microscope files will not open in plain ImageJ. Plain ImageJ needs Bio-Formats added; Fiji has it. See how to open .czi and .nd2 files.
Using ImageJ on Linux
Once it runs, ImageJ looks and works the same as on Windows or a Mac: the menus (File, Edit, Image, Process, Analyze, Plugins, Window, Help) and the toolbar in one window, images in their own windows. The keyboard shortcuts use Ctrl (Ctrl O opens, Ctrl M measures, Ctrl Shift P opens Image › Properties).

Next steps: setting the scale, measuring length and area, counting cells, batch processing with macros and the rest of how to use ImageJ.
Pitfalls
- The distribution's ImageJ package. It is often old, and adding plugins to it is awkward. Use the Fiji download.
- Two copies of Fiji. You update one and start the other. Keep one folder, and one desktop entry pointing to it.
- Running it with sudo. Root-owned files break later updates. Keep Fiji in your home folder and run it as yourself.
- Installing Java for Fiji. Not needed: Fiji uses the Java inside its own folder, not the system's.
- Unofficial download sites. Use imagej.net or the mirrors it links. A Flatpak is being prepared by the Fiji team; until it is released, other packages are not official.
Citing it
ImageJ and Fiji are free, but cite them in your methods: Schneider et al. (2012) for ImageJ, Schindelin et al. (2012) for Fiji, with the version from Help › About ImageJ. How to cite ImageJ and Fiji has the details.
Can't install anything? Measure in LabCanvas instead
On a shared Linux machine where you cannot keep programs in your home folder, or when you only need to measure a few images, LabCanvas Image Analysis runs in Firefox or Chrome with nothing to install and no Java.
- Open Image Analysis in the browser and sign in (a free LabCanvas account).
- Drop your TIFF on the window (the pixel size comes with it), or click a sample.
- Measure drawn regions in the Measure tab (Measure, Set measurements), or count in Count › Count particles.
- Copy the table to a spreadsheet, or Send to Graphs.


Why it is a good choice on a shared machine:
- Nothing to install: no zip, no Java, no folder permissions, no Updater; it runs on any computer or tablet.
- ImageJ's names and measurements: an ROI list with Measure and Set measurements, Analyze Particles with watershed, sixteen threshold methods, rolling-ball background subtraction, Z Project, Find Maxima and a cell counter; it opens ImageJ .roi files and RoiSet.zip.
- An image check that flags clipped pixels, JPEG compression and uneven light before you measure.
- Free with a LabCanvas account: measuring, Copy and Send to Graphs; downloading files is part of LabCanvas Pro. Every measurement is checked in more than 8,900 automated tests.
It is not a full replacement: there is no macro language, plugin system or headless mode, its only deep-learning model is StarDist for fluorescent nuclei (Cellpose models run once you convert one yourself), and some microscope files (DM3/DM4, OIF and others) need exporting as OME-TIFF first, although .czi, .nd2 and .lif files open directly. For those jobs, and for batch work on a server, install Fiji as above. ImageJ and Fiji are independent open-source projects; LabCanvas is not affiliated with them.
References
- Schindelin J, Arganda-Carreras I, Frise E, et al. (2012). Fiji: an open-source platform for biological-image analysis. Nature Methods 9, 676–682. doi:10.1038/nmeth.2019
- Schneider CA, Rasband WS, Eliceiri KW (2012). NIH Image to ImageJ: 25 years of image analysis. Nature Methods 9, 671–675. doi:10.1038/nmeth.2089
Frequently asked questions
Which Fiji do I download for Ubuntu?
Fiji Latest for Linux x86-64 (fiji-latest-linux64-jdk.zip) on a usual Intel or AMD PC, or Linux arm64 (fiji-latest-linux-arm64-jdk.zip) on an Arm machine. Both need Ubuntu 22.04 LTS or later, or another Linux with glibc 2.34 or newer, and include Java 21. On an older system, take Fiji Stable (Java 8).
Can I install ImageJ with apt?
Some distributions package ImageJ, but the ImageJ wiki advises against installing it that way, because adding plugins then tends to cause problems, and ImageJ2 is not packaged at all. It recommends downloading Fiji from imagej.net/software/fiji/downloads instead. A Flatpak is in the works but not yet released.
Do I need to install Java for Fiji on Linux?
No. The Linux downloads with "jdk" in the name carry their own Java (Java 21 in Fiji Latest, Java 8 in Fiji Stable) inside the Fiji folder, and Fiji uses that one. Only the portable "no JDK" download needs a Java you install yourself.
How do I start Fiji from the terminal on Linux?
Run the launcher in the Fiji folder: ~/Fiji/fiji-linux-x64 (fiji-linux-arm64 on Arm), or cd ~/Fiji and ./fiji, a small script that picks the right launcher. ./fiji --help lists the options, such as --mem=8g for more memory or --debug to see why it does not start.
How do I add Fiji to the applications menu?
Create a desktop entry: a text file ~/.local/share/applications/fiji.desktop with Type=Application, Name=Fiji, Exec= the full path to fiji-linux-x64 and Icon= the full path to images/icon.png in the Fiji folder. Use full paths (/home/yourname/…), not ~. Fiji then appears in the menu and search like any other app.
How do I give Fiji more memory on Linux?
Edit › Options › Memory & Threads, type the Maximum memory in MB, click OK and restart. Fiji Latest starts with 75% of your RAM by default; for one session, start it with ./fiji --mem=8g. Keep the setting below about three quarters of the RAM.
Try it in LabCanvas
Every app is free to start in your browser. Create an account and begin.
Start Image Analysis free in your browserKeep reading

Bleach correction in ImageJ and Fiji: simple ratio, exponential fit or histogram matching?
Fiji’s Bleach Correction (Image › Adjust): simple ratio, exponential fit and histogram matching tested on a known time-lapse, and when each is valid.

Drift correction in ImageJ and Fiji: StackReg, Correct 3D Drift or SIFT?
Correct drift in a Fiji time-lapse with StackReg (BIG-EPFL update site), Correct 3D Drift or Linear Stack Alignment with SIFT: which to use and how.

How to measure an angle in ImageJ: the Angle tool and line angles
Measure an angle in ImageJ with the Angle tool (three clicks, then M), or from two straight lines and their Angle column. Worked example and reflex angles.