http://imagej.273.s1.nabble.com/Improved-ImageJ-Launcher-Launching-ImageJ-from-external-program-tp3703956p3703958.html
the delay when launching ImageJ via file-extension associations.
After debugging I found out that the problem is java related. Changing
the JRE back to 1.5.0_03 32-bit resolved the problem. The 64-bit JRE
version that I use (1.5.0_06) causes the delay.
problems... (see: Re: Windows behavior of version 1.35j - corrupt
the problem in their 64-bit JRE.
> 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]
>> ***********************************************************
>>
>>
>>
>
Dept. Medical Physics L0-152