Login  Register

changing the location of the plugins folder

Posted by Jennifer West on Jan 22, 2008; 10:30pm
URL: http://imagej.273.s1.nabble.com/changing-the-location-of-the-plugins-folder-tp3697478.html

Hi,

On the Windows platform, can you configure ImageJ to look for plugins  
in multiple folders? How do you do it?

I can change the plugins folder by adding the following to ImageJ.cfg:

-Dplugins.dir=H:\plugins -cp ij.jar ij.ImageJ

and that works. But if I include another folder:

-Dplugins.dir=C:\Program Files\ImageJ\plugins;H:\plugins -cp ij.jar ij.ImageJ

Then I get an error that ImageJ can't find the main class.

I thought the space between "Program" and "Files" might be an issue so I tried

-Dplugins.dir=C:\Program/Files\ImageJ\plugins;H:\plugins -cp ij.jar ij.ImageJ

But then I see no plugins at all. I also tried quotes, but then it  
does not launch at all.

Does anyone have any suggestions?

Thanks!
Jennifer