Gilles Carpentier's Research Web Site:
Computer Image Analysis
Methods and Examples

An Apple Script application, allowing an automatic update of the ij.jar file on
MacOS X simply by drag and drop.

Since the 01-03-2006, the ImageJ distribution has changed. The Updater presented on this page works for the 1.42 distribution only. For the new 1.36 distribution, download the ImageJ Updater 2.

New: ImageJ X Live Updater at this link

26-07-2004. Updated 04-04-2006: Compatible with MacOS X3 (X.3.8, X.3.9) and MacOS X4. ImageJ distribution 1.42 only.

This method works with the following settings : Java 1.4.2 update 2 (09/23/04)

! The MacOS 10.3.9 (15-04-2005) update sometime causes troubles on some computers: for example, sometimes, ImageJ isn't recognised by the finder. In that case, the script asks what application has to be used during the first use after updating. Choose ImageJ in the list. The further utilisations of the script shall work correctly. 


--MacOS X -+ - -- -----+ --------

Apple Script is a technology developped by Apple since several years to automatize finder repetitive tasks and to pilote scriptable applications. These properties are used in this present work to automatize the update of ImageJ.


There are two ways to upgrade your version of ImageJ on MacOS X :

If you have a customized version of ImageJ with your favorites plugins or macros, the upgrade by ij.jar file is more convenient.
You have to make it manually as explained in the "ImageJ documentation" at the chapter "MacOS X Installation".


This AppleScript application makes the update for you:

How to proceede:

- Download the ImageJ Updater application (end of page).
- Download a JAR file from one of the two links shown above.
- To make the upgrade, just drop the ij.jar file onto the ImageJ Updater application.

- Option: if you have more than one ImageJ folder (i.e. more than one version) on your computer, you can choose the one you want to be updated. For that, just start the version to upgrade before using the ImageJ Updater application. The open ImageJ application will be taken into account for the upgrading process.


What the application does exactly:

Here we have an example of a computer with two versions of ImageJ:

The picture below shows that the current version is 1.32j once ImageJ is charged. We want to upgrade it with the 1.33g ij.jar file.

After dropping the ij.jar file onto the ImageJ Updater application, the new version is 1.33g

The following picture shows the new archive folder of the old ij.jar file.

Note: avoid to run two ImageJ applications at the same time when you perform an upgrade. It might generate mistakes, if by inadvertency, the front ImageJ version is changed.



Page author: Gilles Carpentier. You can mail me if you are interested in more details:
Address:
Gilles Carpentier, Faculté des Sciences et Technologies, Université Paris 12 Val-de-Marne, France.

Gilles Carpentier's Web Site:
"Computer Data Acquisition for Biochemistry Practice Works: Methods and Examples"

Special thanks to Alessandra Albano for the English correction of this page.