Login  Register

Relative paths in ImageJ.cfg (Windows)?

Posted by Burger Wilhelm on Jun 08, 2015; 11:36am
URL: http://imagej.273.s1.nabble.com/Relative-paths-in-ImageJ-cfg-Windows-tp5013071.html

Hello all,

for technical reasons I would like to permanently move ij.jar to the ImageJ/jars subfolder, with the original (automatically created) config file
------------------------------------------------------------
.
C:\Program Files\Java\jre1.8.0_45\bin\javaw.exe
-Xmx640m -cp ij.jar ij.ImageJ
------------------------------------------------------------

I tried settings like
   -cp jars\ij.jar ij.ImageJ
   -cp .\jars\ij.jar ij.ImageJ
but the Image.exe launcher still asks me to locate ij.jar manually. Then it inserts a full absolute path to ij.jar into the config file, which I would like to avoid.

Is there any way to specify (and keep) a relative path to ij.jar?

--Wilhelm
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html