imagej / imagej/imagej2

ImageJ fails to run ImageJ1 plugins when launched from Eclipse

Open
#110 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

In Eclipse, edit `net.imagej.Main.main` to add the line:

``` java
System.setProperty("plugins.dir", "/path/to/your/Fiji.app");
```

Then launch the main class. You will see all of Fiji's plugins in the menus. However, attempting to execute any of them yields a dialog box with a "Plugin or class not found" error.

[Reported on the imagej-devel mailing list by Christian Göschl](http://imagej.net/pipermail/imagej-devel/2015-January/002415.html).

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure by launching net.imagej.Main.main from Eclipse with plugins.dir set to a Fiji.app path, then inspect the plugin-loading path associated with the "Plugin or class not found" dialog. Done means ImageJ1 plugins discovered in the menus can be executed successfully from Eclipse.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.