#!/bin/sh # Micro-Manager launcher for running as ImageJ plugin. # Note: we could conceivably generate this script so that it will use # `dirname $0` (i.e. the location of the script) as the ImageJ directory and # search for ij.jar at runtime. That would allow the ImageJ folder to be moved # after installation. But that would disallow the script from being moved out # of the ImageJ directory, e.g. to put it in PATH. So let's just keep it # simple. # ImageJ doesn't work very well unless started in its own directory (even if # system properties like plugins.dir are set). Let it operate under the # assumption it makes. cd "/home/insitu/src/Fiji.app" /usr/lib/jvm/java-8-openjdk-i386/bin/java -Xmx1024M \ -XX:MaxDirectMemorySize=1000G \ -Dmmcorej.library.loading.stderr.log=yes \ -Dorg.micromanager.corelog.dir=/tmp \ -jar "/home/insitu/src/Fiji.app/jars/ij-1.50g.jar" \ -eval 'run("Micro-Manager Studio");'