2016-05-10 - ImageJ HOWTO - Java 8, Java 6, Java 3D
However, at the moment, it is still possible to run a (slightly outdated now) version of Fiji with Java 6.
Current recommendations and possibilities
|Java 8|| Recommended.
Download the newest Fiji for your platform. It comes bundled with Java 8, with the Java-8 update site enabled.
|Run › to update to the latest version of ImageJ core and Fiji components.||This version of Fiji comes bundled with Java 3D 1.6. The 3D Viewer works out of the box, though there are still some bugs.|
|Java 6||Download the final (2017-May-30) Java-6 version of Fiji. It comes bundled with Java 6 and all platform launchers.||Run › to update to the latest Java-6-compatible version. Your Fiji will become outdated over time, stuck on the final Java-6-compatible plugin versions.||Run › to trigger installation of Java 3D 1.5 if you need 3D viz.|
| Download the final (2017-May-30) Java-6 version of Fiji. It is distributed without Java, so you must install Apple Java 6 on your system.
Download the newest ImageJ for your platform. It comes bundled without Java, and without the Java-8 update site enabled.
|Run › to update to the latest Java-6-compatible version. Your ImageJ will become outdated over time, stuck on the final Java-6-compatible plugin versions.||The 3D Viewer is not bundled with "plain" ImageJ2 (yet). It is (for now) part of the Fiji update site.|
|Java 6|| It is possible to set up a "plain" ImageJ2 with Java 6, but not recommended:
|See the ImageJ 1.x downloads page for instructions.|
Upgrading an old installation
If you have downloaded Fiji or ImageJ2 quite some time ago (before 2016), you probably have the Java 6 version (how do I find out?). So when you update, you will not receive the latest plugin releases anymore, as described above.
- If you still need Java 6, do nothing.
- For now, you will keep receiving updates of ImageJ 1.x.
- But you will no longer receive updates for most ImageJ2 or Fiji components—they have all migrated to Java 8.
- If you want the latest updates, update your ImageJ installation to use Java 8 and then enable the Java-8 update site.
- Make sure you switch your ImageJ over to Java 8 before enabling the Java-8 update site!
Alternately, you can simply download a new Fiji as described above.
About the Java-8 update site
Right now, the
Java-8 update site includes the latest Java-8 versions of all core ImageJ and Fiji components. So unfortunately, at the moment, there is no way to get a "latest and greatest plain ImageJ2" built on Java 8, but without Fiji components.
But later this year, we will migrate the latest Java-8 components back to the core
Fiji update sites, respectively, so that users can choose between "plain" ImageJ2 (lighter weight without "plugin bloat") and Fiji (with "more parts on the table"). We only want to proceed with this migration once there is a mechanism in place to notify users that Java 8 is now required, without breaking existing installations.
About Java 3D
- Java 3D 1.6 requires Java 7 or newer. Hence, we ship it on the Java-8 update site only.
- Java 3D 1.5 works with Java 6, but:
- It has a restrictive license.
- It does not work with Java 7 or 8 on macOS.
- It does not work with Java 8 (or 7?) on some Windows systems.
Please be aware that Java 3D is essentially a dead technology. The future of 3D visualization in ImageJ is the ClearVolume and SciView plugins. But it will be a lot of work to rewrite all 3D Viewer functionality, so the ImageJ and Fiji teams are still exploring the best ways to proceed here.