The Raspberry Pi is an inexpensive single-board computer system which runs the Raspbian operating system, a flavor of Debian Linux. This page provides advice and guidance for running ImageJ, ImageJ2, and Fiji on Raspberry Pi systems.
The following steps describe how to install Fiji on a Raspberry Pi:
- Open the terminal.
- Install Java 8 on your Pi (
sudo apt-get install openjdk-8-jre).
- Choose Java 8 (
sudo update-alternatives --config java).
- Verify it works using
- Download and install the platform-independent “no JRE” distribution of Fiji.
- Download the ImageJ.sh shell script
- Move the
ImageJ.shfile to the
- Set the executable bit (
chmod +x ImageJ.sh)
- Run it (
./ImageJ.sh) to launch Fiji.
You may also need to disable (comment out)
Note that the shell script supports only a subset of the functionality of the native ImageJ Launcher, but it should be able to run ImageJ successfully.
The following steps describe how to create a desktop icon to launch Fiji on a Raspberry Pi:
- Download the Fiji icon image: Fiji icon link
- Press ⌃ Ctrl + ⌥ Alt + T to open the terminal window
nano Fiji.desktopand press return. This will load Nano which will allow you to create a desktop icon.
- Type the following code, replacing
/path/towith the paths to the
ImageJ.shfile and the Fiji icon:
[Desktop Entry] Name=Fiji Version=1.0 Comment=Launches Fiji Exec=/path/to/ImageJ.sh Icon=/path/to/48px-Fiji-icon.png Terminal=false Type=Application Categories=Education
- Press ⌃ Ctrl + X and then press Y to exit and save the new desktop icon.
- Enter your desired file name, such as
Fiji.desktopand press return. Once complete, an icon should be visible on the desktop.
- Press ⌃ Ctrl + X to return to the terminal window
- In the terminal window, type the following to navigate to the Desktop
- Then type the following to make the new icon executable
chmod +x Fiji.desktop
It is supposedly possible to run Java 3D on the Pi; see this StackOverflow thread. However, there have been no official reported successes on ImageJ community channels yet. If you get it working, please edit this section to describe the steps you used!
See the Troubleshooting page.
Frequently Asked Questions
See the Frequently Asked Questions page.