Re: [micro-manager-general] Linux installation
Status: Beta
Brought to you by:
nicost
|
From: Nico S. <ni...@cm...> - 2009-07-07 17:07:50
|
Hi Jörg,
Thanks for the feedback!
> 3. Building from source, creating the dir "/usr/lib/micro-manager"
> helped in the sense that the whole sequence from ./mmUnixBuild.sh to
> "make install" and "ldconfig" did run without errors. But:
>
> I then started ImageJ ("./run &") -- ImageJ starts up. Micromanager
> is
> in the plugin menue, I open Micro-manager Studio, the registration
> window opens, and then the micro-manager window, but no Micro-manager
> startup configuration. On the terminal I got the error messages added
> at the bottom of this mail*. In addition, ImageJ and Micromanager
> couldn't be closed any more.
>
> Native code library failed to load.
> java.lang.UnsatisfiedLinkError: no MMCoreJ_wrap in java.library.path
> Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError:
> mmcorej.MMCoreJJNI.swig_module_init()V
This means the MMCoreJ_wrap is not in java.library.path. So, you will
need to add the location of MMCoreJ_wrap.so to your
java.library.path. I once had a "run" script in the repository for
that purpose. I am not sure what replace this on linux, but the
startup script looked as follow:
#!/bin/bash
cd /usr/local/ImageJ
export LD_LIBRARY_PATH=.:/usr/local/lib:/usr/lib/micro-manager:/usr/
local/ImageJ
java -mx1200m -Djava.library.path=/usr/lib/micro-manager:/usr/local/
ImageJ -Dplugins.dir=/usr/local/ImageJ -cp /usr/local/ImageJ/ij.jar:/
usr/local/jdk1.5.0_04/lib/tools.jar ij.ImageJ
Where /usr/local/ImageJ is the location of ij.jar, and /usr/lib/micro-
manager is the location of the micro-manager .so files.
Hope this helps!
Best,
Nico
|