Login  Register

Re: StartupMacros not loading on Linux system

Posted by dscho on Jul 23, 2008; 11:31pm
URL: http://imagej.273.s1.nabble.com/StartupMacros-not-loading-on-Linux-system-tp3695534p3695535.html

Hi Tux,

On Tue, 22 Jul 2008, Tux Hacker wrote:


> ////////// failed to load from shell ////////////////////////
> 11:48 tux:../ij/ij-139s-am129 > su
> Password:

What the... ? Running ImageJ as _root_?

> pluginsPath (b)=null
> pluginsPath (d)=/home/arndt/j/ij/ij-139s-am129/plugins/plugins/

This tells me that your script to run ImageJ from the command line sets
plugins.dir to .../plugins/!  Compare that to theoutput from JBuilder:

> ///////////// same log when run from JBuilder - good behaviour ///////
>
> [...]
> userHome (a)=/home/arndt

Saner.

> pluginsPath (b)=null
> pluginsPath (d)=/home/arndt/j/ij/ij-139s-am129/plugins/

It obviously sets plugins.dir _not_ to .../plugins/.

Hth,
Dscho