http://imagej.273.s1.nabble.com/Running-ImageJ-within-Eclipse-tp3699621p3699625.html
Try replacing the / with \ in your arguments. Java's not actually
cross-platform, you know. You have to spoonfeed it stuff like this.
> The answer it gives me is
>
> c:/workspace/IJ/bin/\plugins\
>
> and that seems to be correct. It must find the two plug-in class files
> since they are added to the plugins menu.
>
> James W. Cooper
> Text Analytics
> IBM T J Watson Research Center
>
[hidden email]
> 914-784-7285
>
http://flahdo.watson.ibm.com/>
http://www.research.ibm.com/people/j/jwcnmr/>
>
>
>
> Wayne Rasband <
[hidden email]>
> Sent by: ImageJ Interest Group <
[hidden email]>
> 05/02/2007 11:54 AM
> Please respond to
> ImageJ Interest Group <
[hidden email]>
>
>
> To
>
[hidden email]
> cc
>
> Subject
> Re: Running ImageJ within Eclipse
>
>
>
>
>
>
> Where does ImageJ think the plugins directory is? You can find out by
> opening a text editor window (type shift-n), entering
>
> getDirectory("plugins")
>
> and typing ctrl-r (Macros>Run Macro).
>
> -wayne
>
>
> On May 2, 2007, at 10:42 AM, James Cooper wrote:
>
> > I have the ImageJ sources in an Eclipse project under IJ/src and
> > IJ/bin,
> > and running ij.ImageJ brings up the menu fine.
> > I put the Analyze plugins in IJ/src/plugins and IJ/bin/plugins and have
> > the following VM args:
> >
> > -Dplugins.dir=c:/workspace/IJ/bin/ -Dmacros.dir=c:/workspace/IJ/
> >
> > The plugins menu shows Analyze Reader and Analyze Writer. However, if I
> > try to run them from the Plugins menu, I get
> >
> > plugin or class not found: "Analyze_Reader"
> > (java.lang.NoClassDefFoundError: Analyze_Reader (wrong name:
> > plugins/Analyze_Reader))
> >
> > What do I change here to make this work?
> >
> > James W. Cooper
> > Text Analytics
> > IBM T J Watson Research Center
> >
[hidden email]
> > 914-784-7285
> >
http://flahdo.watson.ibm.com/> >
http://www.research.ibm.com/people/j/jwcnmr/> >
>