Re: Portable ImageJ

Posted by Justin McGrath on
URL: http://imagej.273.s1.nabble.com/Portable-ImageJ-tp3700446p3700455.html

Under Linux ~ generally points to the home directory.  I don't know if
Mac has a similar convention, but I know Windows XP does (%HOME% I
think it is).  You might be able to use this to make ImageJ more
portable.  Just have the script copy IJ_Prefs.txt to the home
directory before starting ImageJ, then remove it when IJ is done.  Of
course it should check if there's a file there already and make a
backup and restore it when finished.

This has the advantage of still being portable, doesn't require
modifaction of the code, and still follows the conventions of the OSes
it's running on.

Justin