#!/bin/bash
# This starts gowrite
#
# 18-04-2009: Added quotes

# If you want to start gowrite with specific java version, set $GOWRITE_JAVA to point to java executable
jcmd=java
if [ "$GOWRITE_JAVA" != "" ]; then
  jcmd="$GOWRITE_JAVA"
fi

base="${0%/*}"

"$jcmd" -Dgowrite.root="$base" -Xmx600m -jar "$base/GOWrite.jar" "$@"

