Login  Register

Re: Improved ImageJ Launcher/Launching ImageJ from external program

Posted by Hugo Gratama van Andel on Jan 23, 2006; 8:14am
URL: http://imagej.273.s1.nabble.com/Improved-ImageJ-Launcher-Launching-ImageJ-from-external-program-tp3703956p3703957.html

Hello All, Hello George H. Silva,

I tried your version of "ImageJ.exe" and it works fine!
But I also experience a delay of 12 seconds before ImageJ is launched...
Just like with my own code. Maybe the delay  is caused by my rare setup.
I am running Windows XP 64-bit version and use the 64-bit version JRE to
run ImageJ. I am glad that the other users don't experience strange delays.

I can imagine to use the code of George H. Silva in stead of mine. If
you start working with an changed version of the JavaLauncher code,
working with totally new code is a comparable good option.

-Hugo Gratama van Andel

George H. Silva wrote:

> Hello All,
>
>  
>
> I also looked at the code for JavaLauncher and decided to take a few minutes
> to re-write/fix the application ;-)  Since I don't have a C compiler for
> windows based apps, I used Pascal (Delphi) to code (source is included).
> The resulting app is now 80% smaller and works exactly the same - well,
> except that it now handles file associations correctly :-) I do not
> experience the load-delay problem mentioned by Hugo Gratama van Andel, but
> this could be an unrelated thing in his case.
>
>  
>
> A compiled version of the new ImageJ launcher app is available here:
>
>  
>
> http://www.brokensymmetry.com/files/imagejwinstub.zip
>
>  
>
> Inside the zip you will find the compiled exe, a readme file and the source.
> I kept the program compatible with the ".CFG" format, although if people are
> interested in having the program more "windows friendly", just let me know
> ("windows friendly" = using the registry for finding the JVM, etc).
>
>  
>
> Comments and suggestions welcome - give it a try and let me (and this
> mailing list) know how things work!
>
>  
>
> Wayne - feel free to include this in the official ImageJ install.  As
> mentioned, I can add features if needed.
>
>  
>
> Cheers,
>
> George.---
>
>  
>
> ***********************************************************
> George H. Silva, PhD
> Institut fuer Biochemie, FB08
> Justus-Liebig-Universitaet
> Heinrich-Buff-Ring 58
> 35392 Giessen
> Germany
> E-mail: [hidden email]
> ***********************************************************
>
>  
>

--
Hugo Gratama van Andel - MSc
Academic Medical Centre - University of Amsterdam
Dept. Medical Physics      L0-152
Meibergdreef 9
1105 AZ Amsterdam
The Netherlands
Phone  :  +31 20 566 5206
FAX    :  +31 20 691 7233
e-mail :  [hidden email]