#!/bin/sh ## # Simple shell script to launch Arboreal on GNU/Linux or Un*x systems. # # Copyright (C) 2004 President and Fellows of Harvard College. # Arboreal comes with ABSOLUTELY NO WARRANTY. This is free software, # and you are welcome to redistribute it under the terms of the # GNU GENERAL PUBLIC LICENSE (GPL) Version 2. See the file "COPYING" # for more details. ## ## # Arboreal likes memory. You might want to increase the heap size: ## HEAP_MIN="96M" HEAP_MAX="512M" ## # Specify any JVM switches you'd like here: ## EXTRA_SWITCHES="" ## # Depending on how and where you install Arboreal, you may need to specify # the path to the JAR files: ## JAR_PATH="." if [ "_$JAVA_HOME" = "_" ]; then JAVA_EXEC="java" else JAVA_EXEC="$JAVA_HOME/bin/java" fi "$JAVA_EXEC" -Xms"$HEAP_MIN" -Xmx"$HEAP_MAX" $EXTRA_SWITCHES \ -jar "$JAR_PATH/arboreal.jar" $1