Thanks to Wayne's recent changes, I'm having great success using ImageJ
as a browser helper app, at least under Mac OS. Unfortunately, my Windows users aren't having such good luck. They get an error of the form "Cannot find ImageJ.cfg or launcher.cfg". Searching the mailing-list archive for "ImageJ.cfg" yielded this message from last year: > Date: Fri, 9 Jul 2004 14:54:37 -0500 > From: Wayne Rasband <[log in to unmask]> > Subject: Re: configuration file > In-Reply-To: <[log in to unmask]> > > > does anyone know if it's possible to modify the ImageJ.exe > > to specify the path of the ImageJ.cfg file ? > > You could edit the ImageJ.exe (Marner Java Launcher) source to > hardwire the path to the configuration file. The source is available > at: > > http://www.rolemaker.dk/nonRoleMaker/javalauncher/ > marner_java_launcher.htm > > > I ask that because I want IJ to be the default application for > > the opening of tif files. Right now, if the tif file is not in the > > directory where ImageJ.exe ImageJ.cfg are located, there's > > an error message concerning the location of ImageJ.cfg. > > Why not just drag and drop tiff files onto the upper half of the > "ImageJ" window? -wayne I'm trying to make ImageJ the default (actually, "helper") app for opening .ijm files, but the same problem arises. Recompiling Windows source for each Windows user won't work out very well for our deployment plan. Has anybody found a better way around this problem? Is there some canonical place to put ImageJ.cfg so that Windows can find it? Is there any other launcher technology I could offer instead? I'm a longtime Mac and UNIX user, but more or less a Windows neophyte, so please don't assume that anything is too obvious to mention. :-) Thanks... -- -jeffB (Jeff Brandenburg, Duke Center for In-Vivo Microscopy) |
The great thing about a mailing list is that someone can correct me if I am
wrong, but, I believe that the ImageJ launcher for windows requires the cfg file to be both in the same directory as the .exe and have the same name. I believe it to be based on the Marner laucher. Fortunately, there is nothing special or unique about this system, it's just the one Wayne distributes by default. You could setup ImageJ to lauch using a direct java command line call - essentially all the guff in the .cfg file. Alternatively you could use another windows java launcher such as http://launch4j.sourceforge.net/ or http://jsmooth.sourceforge.net/. Hoping this is both factual and useful. --- ImageJ Interest Group <[hidden email] wrote: Thanks to Wayne's recent changes, I'm having great success using ImageJ > as a browser helper app, at least under Mac OS. Unfortunately, my > Windows users aren't having such good luck. They get an error of the > form "Cannot find ImageJ.cfg or launcher.cfg". Searching the > mailing-list archive for "ImageJ.cfg" yielded this message from last > year: > > > Date: Fri, 9 Jul 2004 14:54:37 -0500 > > From: Wayne Rasband <[log in to unmask]> > > Subject: Re: configuration file > > In-Reply-To: <[log in to unmask]> > > > > > does anyone know if it's possible to modify the ImageJ.exe > > > to specify the path of the ImageJ.cfg file ? > > > > You could edit the ImageJ.exe (Marner Java Launcher) source to > > hardwire the path to the configuration file. The source is available > > at: > > > > http://www.rolemaker.dk/nonRoleMaker/javalauncher/ > > marner_java_launcher.htm > > > > > I ask that because I want IJ to be the default application for > > > the opening of tif files. Right now, if the tif file is not in the > > > directory where ImageJ.exe ImageJ.cfg are located, there's > > > an error message concerning the location of ImageJ.cfg. > > > > Why not just drag and drop tiff files onto the upper half of the > > "ImageJ" window? -wayne > > I'm trying to make ImageJ the default (actually, "helper") app for > opening .ijm files, but the same problem arises. Recompiling Windows > source for each Windows user won't work out very well for our > deployment plan. > > Has anybody found a better way around this problem? Is there some > canonical place to put ImageJ.cfg so that Windows can find it? Is > there any other launcher technology I could offer instead? I'm a > longtime Mac and UNIX user, but more or less a Windows neophyte, so > please don't assume that anything is too obvious to mention. :-) > > Thanks... > -- > -jeffB (Jeff Brandenburg, Duke Center for In-Vivo Microscopy) > |
Free forum by Nabble | Edit this page |