#!/bin/bash

# location of the JAVA command to use (please set to correct path)
JAVA=/Applications/mipav/jre/Contents/Home/bin/java

# location of additional JAVA libraries to use (please set to correct path)
JAVALIB=/Applications/mipav/jre/Contents/Home/lib/ext/

# location of the MIPAV installation to use (please set to correct path)
MIPAV=/Applications/mipav

# location of the plugin installation to use (please set to correct path)
# please replace 'MyUserName' by your user name
PLUGINS=/Users/MyUserName/mipav/plugins

# amount of memory to use as default
MEM=4000M

# mipav command
$JAVA -classpath $JAVALIB/*:$MIPAV:$MIPAV/lib/*:$PLUGINS:$PLUGINS/lib/* -Xmx$MEM -Xms$MEM MipavMain $@

