<div dir="ltr">Hi Luke,<div><br></div><div>Thanks so much! After I install the 32bit JRE, there is no more error and I can launch the uManager studio and do the acquisition normally. </div><div><br></div><div>Kieran, thanks for your patient reply all the same! </div>
<div><br></div><div>Best,</div><div>Ke</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Ke Li<div>Research Assistant </div><div>Biomedical Engineering</div><div>Johns Hopkins University</div><div>Phone: 410-934-9802</div>
<div>Email: <a href="mailto:kli26@jhu.edu" target="_blank">kli26@jhu.edu</a></div></div></div>
<br><br><div class="gmail_quote">On Wed, Jul 9, 2014 at 8:45 AM, Luke Stuyvenberg <span dir="ltr"><<a href="mailto:stuyvenberg@wisc.edu" target="_blank">stuyvenberg@wisc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Kieran and Ke,<br>
<br>
I just tested a fresh, completely up-to-date installation of OpenSPIM (*only* OpenSPIM-20140207.zip) on a 64-bit computer. On my machine, the software had the error Ke refers to: "Failed to load the MMCoreJ_wrap native library." The problem seems to happen when OpenSPIM uses a 64-bit JRE to load a 32-bit DLL. Please make sure you install a 32-bit JRE from <a href="http://www.java.com" target="_blank">http://www.java.com</a> .<br>
<br>
<br>
If you already have a 32-bit JRE installed on your computer, either of these additional steps should help:<br>
<br>
<br>
This solution may change how other Java applications run:<br>
- Click Start -> Right click "My Computer" -> Properties.<br>
- On the left, click "Advanced System Settings".<br>
- Click "Environment Variables...".<br>
- Under System Variables, click "New..."<br>
- In Variable name, enter "JAVA_HOME". In Variable value, put the full path to the 32-bit JRE (for example, "C:\Program Files (x86)\Java\jre7").<br>
<br>
<br>
This solution may use some extra hard-drive space, but will only affect OpenSPIM:<br>
- Download and Extract OpenSPIM-20140207.zip. In OpenSPIM.app, make a new folder called "java".<br>
- Copy all files from the Java JRE directory (i.e. "C:\Program Files (x86)\Java\jre7") into this new folder.<br>
<br>
<br>
Now OpenSPIM will use the 32-bit JRE to run, which should resolve the problem.<br>
<br>
<br>
Please let me know if this helps!<br>
Luke<br>
<br>
<br>
On 07/08/14, Kieran Short wrote:<br>
><br>
> This is not what I did. Just use the <a href="http://openspim.org" target="_blank">openspim.org</a>(<a href="http://openspim.org" target="_blank">http://openspim.org</a>) distribution. It comes with *everything pre installed*. Dont do anything else, you shouldn't need to download the fiji installer. Just open the OpenSpim distribution in compatibility mode. Micromanager will be in the plugins waiting for you.<br>
><br>
> Fwiw I haven't updated either. But if you download from the <a href="http://openspim.org" target="_blank">openspim.org</a>(<a href="http://openspim.org" target="_blank">http://openspim.org</a>) website it should be relatively fresh and up to date.<br>
><br>
> Cheers Kieran<br>
<div class="">> On 09/07/2014 8:04 AM, "Ke Li" <<a href="mailto:tianlankeke@gmail.com">tianlankeke@gmail.com</a> <<a href="mailto:tianlankeke@gmail.com">tianlankeke@gmail.com</a>>> wrote:<br>
><br>
> > For base installation, you mean install the OpenSPIM/Fiji package here:<a href="http://openspim.org/Downloads" target="_blank">http://openspim.org/Downloads</a> again? <br>
> ><br>
> > I followed the troubleshooting instructions in the compatibility tab and the result is "its an incompatible application".<br>
> ><br>
> ><br>
> > I did the following steps to open the uManager studio:<br>
> ><br>
> ><br>
> > 1. Download the Fiji package of the continuous release version for Windows 7(64bit) from : <a href="http://fiji.sc/Fiji" target="_blank">http://fiji.sc/Fiji</a><br>
> ><br>
> ><br>
> > 2. Download the OpenSPIM package (OpenSPIM-20140207.zip) from :<a href="http://openspim.org/Downloads" target="_blank">http://openspim.org/Downloads</a><br>
> ><br>
> ><br>
> > 3. Launch Fiji: in the Fiji.app/folder, open ImageJ-win64.exe<br>
> ><br>
> ><br>
> > 4. Update Fiji (and OpenSPIM and uManager): Help->Update Fiji<br>
> ><br>
> ><br>
> > 5. Run Micromanager Studio: In the OpenSPIM.app folder, open ImageJ-win32.exe, then plugins->Micro-manager->Micro-manager studio (Before this step, I have followed your steps and set the compatibility mode of the ImageJ-win32.exe as Windows XP (Service Pack 3))<br>
> ><br>
> ><br>
> > After Step 5, an error shows as follows:<br>
> > Error:Failed to load the MMCoreJ_wrap native library mmcorej.MMCoreJJNI.swig_module_init()V<br>
> ><br>
> ><br>
> > To solve this error, I copied the file MMCoreJ_wrap.dll in the mm folder of the OpenSPIM.app folder into the same directory of the ImageJ-win32.exe. Then when I reloaded the uManager studio from the ImageJ (32bit), the error was as follows:<br>
> > Error:Failed to load the MMcoreJ_wrap native library<br>
</div>> > C:\Users\Kuolab\Downloads\SPIM\OpenSPIM-20140207\OpenSPIM.app\MMCoreJ_wrap.dll: Can't load IA 32-bit. dll on a AMD 64-bit platform.<br>
<div class="">> ><br>
> ><br>
> > I tried to open the uManager studio from ImageJ-win32.exe and ImageJ-win64.exe, while the second error above happened all the time in the two cases.<br>
> ><br>
> > The camera driver has been installed correctly before based on the test image results.<br>
> ><br>
> ><br>
> > Is there any step I misconducted? (Maybe copying the MMCoreJ_warp.dll into the same directory of the ImageJ-win32.exe is not correct?)<br>
> ><br>
> ><br>
> > Thanks,<br>
> > Ke<br>
> ><br>
> ><br>
</div>> > Ke LiResearch Assistant<br>
<div class="">> > Biomedical Engineering<br>
> > Johns Hopkins University<br>
</div>> > Phone: <a href="tel:410-934-9802" value="+14109349802">410-934-9802</a>(tel:<a href="tel:410-934-9802" value="+14109349802">410-934-9802</a>)<br>
> > Email: <a href="mailto:kli26@jhu.edu">kli26@jhu.edu</a>(javascript:main.compose()<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > On Tue, Jul 8, 2014 at 5:16 PM, Kieran Short <<a href="mailto:kieran.short@gmail.com">kieran.short@gmail.com</a>(javascript:main.compose()> wrote:<br>
> ><br>
> > ><br>
> > > This is strange. I'm not sure what OpenSPIM fiji build we are running but it works here.<br>
<div class="">> > ><br>
> > > Have you tried going back to a base installation?<br>
> > ><br>
> > > It sounds odd that uManager can even detect your pc as a "amd64" system as compatibility mode should mask that as 32bit.<br>
> > ><br>
> > > What says "its an incompatible application"?<br>
> > ><br>
</div>> > > Of course, mm *should* be able to load a 32bit dll on 64bit architecture. I don't understand why that should be a problem for mm in the first place. The whole x86 instruction set is encapsulated within the x64 set. To Johannes/Mark is this directly related to the available jre?<br>
<div class="">> > > On 09/07/2014 5:18 AM, "Ke Li" <<a href="mailto:tianlankeke@gmail.com">tianlankeke@gmail.com</a>(javascript:main.compose()> wrote:<br>
> > ><br>
> > > > Hi Kieran,<br>
> > > ><br>
</div>> > > > I followed your suggestion. While the problem still existed. When I tried to launch the uManager studio from the ImageJ(ImageJ-win32.exe) in the OpenSPIM.app folder, an error: Failed to load the MMCoreJ_wrap native library (Can't load IA 32-bit.dll on a AMD 64-bit platform) showed every time. I did the troubleshooting and the result showed that it's a incompatible application.<br>
<div class="">> > > ><br>
> > > ><br>
> > > > Is there any other way to solve this problem?<br>
> > > ><br>
> > > ><br>
> > > > Thanks,<br>
> > > > Ke<br>
> > > ><br>
> > > ><br>
</div>> > > > Ke LiResearch Assistant<br>
<div class="">> > > > Biomedical Engineering<br>
> > > > Johns Hopkins University<br>
</div>> > > > Phone: <a href="tel:410-934-9802" value="+14109349802">410-934-9802</a>(tel:<a href="tel:410-934-9802" value="+14109349802">410-934-9802</a>)<br>
> > > > Email: <a href="mailto:kli26@jhu.edu">kli26@jhu.edu</a>(javascript:main.compose()<br>
<div class="">> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > On Mon, Jul 7, 2014 at 9:03 PM, Ke Li <<a href="mailto:tianlankeke@gmail.com">tianlankeke@gmail.com</a>(javascript:main.compose()> wrote:<br>
> > > ><br>
> > > > > Hi Kieran,<br>
> > > > ><br>
</div>> > > > > Thanks so much for your solution. I'll try it tomorrow.<br>
> > > > ><br>
> > > > ><br>
> > > > > Best,<br>
> > > > > Ke<br>
> > > > ><br>
> > > > > Kieran Short <<a href="mailto:kieran.short@gmail.com">kieran.short@gmail.com</a>(javascript:main.compose()>于2014年7月7日星期一写道:<br>
<div class="">> > > > ><br>
> > > > > ><br>
> > > > > > Run it in compatibility mode.<br>
> > > > > ><br>
> > > > > > To do this, do the following.<br>
> > > > > ><br>
> > > > > > Right click imagej/fiji.<br>
> > > > > > Select properties.<br>
> > > > > > Go to the Compatibility tab.<br>
> > > > > > Check the "run this program in compatibility mode for:" box.<br>
> > > > > > Select Windows XP (Service Pack 3).<br>
> > > > > > Click Apply.<br>
> > > > > > Click OK.<br>
> > > > > ><br>
> > > > > > Then try and run it.<br>
> > > > > ><br>
</div>> > > > > > When I can work out how to include plugins during compilation I will try to compile.a win64 version. At such q time i'd happily provide binaries. Im only a part time python progammer though and therefore have little experience with debugging compilation issues. Since Compatibility Mode 'just works' for us, it isn't a high priority for me.<br>
<div class="">> > > > > ><br>
> > > > > > Cheers Kieran<br>
> > > > > > On 08/07/2014 10:32 AM, "Ke Li" <<a href="mailto:tianlankeke@gmail.com">tianlankeke@gmail.com</a>> wrote:<br>
> > > > > ><br>
> > > > > > > Hi Mark & Luke,<br>
> > > > > > ><br>
</div>> > > > > > > I'm writing to ask whether there is a solution for running the openSPIM software in the 64bit system? (The uManager studio can't be loaded normally in my 64 bit system) Can I get access to the source code for modification?<br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > > > Thanks,<br>
> > > > > > > Ke<br>
> > > > > > ><br>
> > > > > > > Ke LiResearch Assistant<br>
<div class="">> > > > > > > Biomedical Engineering<br>
> > > > > > > Johns Hopkins University<br>
</div>> > > > > > > Phone: <a href="tel:410-934-9802" value="+14109349802">410-934-9802</a>(tel:<a href="tel:410-934-9802" value="+14109349802">410-934-9802</a>)<br>
<div class="">> > > > > > > Email: <a href="mailto:kli26@jhu.edu">kli26@jhu.edu</a><br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > > > _______________________________________________<br>
> > > > > > > OpenSPIM mailing list<br>
> > > > > > > <a href="mailto:OpenSPIM@openspim.org">OpenSPIM@openspim.org</a><br>
> > > > > > > <a href="http://openspim.org/mailman/listinfo/openspim" target="_blank">http://openspim.org/mailman/listinfo/openspim</a><br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > > --<br>
</div>> > > > > Ke LiResearch Assistant<br>
<div class="">> > > > > Biomedical Engineering<br>
> > > > > Johns Hopkins University<br>
</div>> > > > > Phone: <a href="tel:410-934-9802" value="+14109349802">410-934-9802</a>(tel:<a href="tel:410-934-9802" value="+14109349802">410-934-9802</a>)<br>
> > > > > Email: <a href="mailto:kli26@jhu.edu">kli26@jhu.edu</a>(javascript:main.compose()<br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> ><br>
> ><br>
> ><br>
> ><br>
</blockquote></div><br></div>