[OpenSPIM] SPIMAcquisition plugin installation fails
Johannes Schindelin
johannes.schindelin at gmx.de
Sat Feb 14 05:48:23 CST 2015
On 2015-02-13 18:04, Carsten Wolff wrote:
> After launching Micro-Manager the 'plugin' sub
> menu is not active. When I remove SPIMacquisition plugin from the
> mmplugin folder and I start MM it is active again and I can go for
> plugins. Any idea what the problem could be?
Starting Micro-Manager from the command-line, you should see something
like this in the log:
```
[...]
java.lang.NoClassDefFoundError: net/imglib2/RandomAccessibleInterval
[...]
```
This message indicates that ImgLib2 is missing from your installation.
My idea was to start from a Fiji installation where the
Micro-Manager-dev update site is activated. That way, ImgLib2 is already
installed.
However, if you insist on using a Micro-Manager installed from the
official Micro-Manager installers, you can add those dependencies
manually, as follows:
1. Run `mvn dependency:copy-dependencies` in the SPIMAcquisition
directory
2. From `target/dependency/` in that subdirectory, copy the
`imglib2-*.jar` files to your Micro-Manager's `mmplugins/` subdirectory.
3. Copy `target/SPIMAcquisition-1.0.0-SNAPSHOT.jar` to the `mmplugins/`
subdirectory, too.
4. Restart Micro-Manager.
I also added these instructions to the `README.md` file of the
SPIMAcquisition project.
Ciao,
Johannes
More information about the OpenSPIM
mailing list