From 84cceda93633965b7013025507d23ecaa610fb56 Mon Sep 17 00:00:00 2001 From: Simon Ebner Date: Tue, 25 Mar 2014 11:34:42 +0100 Subject: [PATCH] Updated information on how to startup Fiji --- Readme.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index f537cde..6f94b3b 100644 --- a/Readme.md +++ b/Readme.md @@ -14,13 +14,13 @@ This plugin requires ImageJ to be run with a Java 7 or greater JVM. # Usage -Mac OS X: +## Mac OS X ``` java -Djava.library.path=./lib/mac64 -Xmx3048m -jar ImageJ64.app/Contents/Resources/Java/ij.jar ``` -Linux: +## Linux ``` java -Djava.library.path=./lib/linux64 -Xmx3048m -jar ij.jar @@ -28,6 +28,16 @@ java -Djava.library.path=./lib/linux64 -Xmx3048m -jar ij.jar The `Xmx` setting is quite random it depends on how big hdf5 files you are planning to open. + +# Fiji +Fiji currently comes with Java 6 bundled. As the HDF5 Plugin requires Java 7 or higher we have to instruct Fiji to use an alternative Java. +This can be done as follows: + +``` +cd + --java-home /usr/lib/jvm/jre-1.7.0-openjdk.x86_64 -Djava.library.path=lib/linux64 +``` + # Development To create an all in one zip file for installation in a ImageJ installation use: `mvn clean compile assembly:assembly`