ImageJ.exe launcher on Windows x64?
Posted by Hoover, Karl on
URL: http://imagej.273.s1.nabble.com/ImageJ-exe-launcher-on-Windows-x64-tp3687930.html
Hi Wayne et al.,
I've got the Micromanager plugin and its components running fine on Windows 7 x64 but I still have an iron-resistant wrinkle with the ImageJ.exe launcher. We package ImageJ with Micromanager but we don't package Java. Therefore we let the ImageJ.exe launcher modify the ImageJ.cfg. When ImageJ launches on an x64 machine with both 32 bit and 64 bit java machine installed - the usual case - it writes the path of the 32 bit java machine into the ImageJ.cfg irrespective of the value of JAVA_HOME. Since Micromanager includes native (C++) binaries compiled for either Win32 or x64 we need to run on the appropriate java machine, else the results are quite unpleasant and will be quite bewildering to the end user. Has anyone else encountered this problem? Perhaps I'm missing something obvious?
Thanks in advance,
Karl Hoover