Installation: Difference between revisions
From MiToBo
Jump to navigationJump to search
(Created page with "test") |
No edit summary |
||
Line 1: | Line 1: | ||
== Linux == | |||
... comming soon! | |||
== Windows == | |||
After downloading and extracting the [[downloads|MiToBo Binaries zip]] you will find the following structure in the ''MiToBo-bin'' directory | |||
* docs - includes the MiToBo manual | |||
* lib - includes nesessary libaries for Linux and Windows | |||
* licences - includes MiToBo license and licences for other software used by MiToBo | |||
* macros - includes the MiToBo macro toolset | |||
* plugins - includes MiToBo jar and other jars used by MiToBo | |||
* oprunner.sh and run.sh - scripts for Linux OS | |||
For installing MiToBo into an existing ImageJ installation perform the following steps: | |||
# go to the '''MiToBo-bin/plugins/''' directory | |||
#* copy the ''Mi_To_Bo.jar'' to your ''../ImageJ/plugins/'' directory (''C:\Program Files\ImageJ\plugins'' by default) | |||
#* copy all jars to your ''../ImageJ/plugins/jars/'' directory <span style="text-decoration: underline;">except</span> the ij.jar and jars already existing<br/>('''Notice:''' MiToBo [[downloads|requires]] explicite versions of some jars, other versions may not work probably!)<br/><br/> | |||
# go to the '''MiToBo-bin/lib/''' directory | |||
#* copy the ''libwin32'' directory to your ''../ImageJ/'' directory<br/><br/> | |||
# go to the '''MiToBo-bin/macros/toolsets/''' directory | |||
#* copy the ''MiToBo_Runner.txt'' to your ''../ImageJ/macros/toolsets/'' directory<br/><br/> | |||
# configurate your ImageJ startup<br/><br/> | |||
:* update ImageJ configuration file ''../ImageJ/ImageJ.cfg'' an add the following line<br/><br/>'''-Djava.library.path="C:\Programme\ImageJ\libwin32" -cp "C:\Programme\ImageJ\ij.jar" ij.ImageJ'''<br\><br/>('''Notice:''' The ImageJ directory path depends on your ImageJ installation)<br/><br/>Example of an ImageJ.cfg file: | |||
C:\Program Files\ImageJ\ | |||
C:\Program Files\Java\jre6\bin\javaw.exe | |||
-Djava.library.path="C:\Program Files\ImageJ\libwin32" -cp "C:\Program Files\ImageJ\ij.jar" ij.ImageJ | |||
<br/> | |||
:* as an alternative you can start ImageJ from command line | |||
::* open your Windows command line | |||
::* move to the ''../ImageJ/'' directoy | |||
::* type the following command: | |||
java -Djava.library.path="C:\Program Files\ImageJ\libwin32" -cp "C:\Program Files\ImageJ\ij.jar" ij.ImageJ |
Revision as of 11:40, 25 April 2012
Linux
... comming soon!
Windows
After downloading and extracting the MiToBo Binaries zip you will find the following structure in the MiToBo-bin directory
- docs - includes the MiToBo manual
- lib - includes nesessary libaries for Linux and Windows
- licences - includes MiToBo license and licences for other software used by MiToBo
- macros - includes the MiToBo macro toolset
- plugins - includes MiToBo jar and other jars used by MiToBo
- oprunner.sh and run.sh - scripts for Linux OS
For installing MiToBo into an existing ImageJ installation perform the following steps:
- go to the MiToBo-bin/plugins/ directory
- copy the Mi_To_Bo.jar to your ../ImageJ/plugins/ directory (C:\Program Files\ImageJ\plugins by default)
- copy all jars to your ../ImageJ/plugins/jars/ directory except the ij.jar and jars already existing
(Notice: MiToBo requires explicite versions of some jars, other versions may not work probably!)
- go to the MiToBo-bin/lib/ directory
- copy the libwin32 directory to your ../ImageJ/ directory
- copy the libwin32 directory to your ../ImageJ/ directory
- go to the MiToBo-bin/macros/toolsets/ directory
- copy the MiToBo_Runner.txt to your ../ImageJ/macros/toolsets/ directory
- copy the MiToBo_Runner.txt to your ../ImageJ/macros/toolsets/ directory
- configurate your ImageJ startup
- update ImageJ configuration file ../ImageJ/ImageJ.cfg an add the following line
-Djava.library.path="C:\Programme\ImageJ\libwin32" -cp "C:\Programme\ImageJ\ij.jar" ij.ImageJ<br\>
(Notice: The ImageJ directory path depends on your ImageJ installation)
Example of an ImageJ.cfg file:
- update ImageJ configuration file ../ImageJ/ImageJ.cfg an add the following line
C:\Program Files\ImageJ\ C:\Program Files\Java\jre6\bin\javaw.exe -Djava.library.path="C:\Program Files\ImageJ\libwin32" -cp "C:\Program Files\ImageJ\ij.jar" ij.ImageJ
- as an alternative you can start ImageJ from command line
- open your Windows command line
- move to the ../ImageJ/ directoy
- type the following command:
java -Djava.library.path="C:\Program Files\ImageJ\libwin32" -cp "C:\Program Files\ImageJ\ij.jar" ij.ImageJ