#!/bin/sh

[ -z "${PREFIX}" ]     && PREFIX="/usr/local"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="/usr/local/share/java/classes/flex-sdk"
[ -z "${DATADIR}" ]    && DATADIR="/usr/local/share/flex-sdk"

VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"

java $VMARGS "-Dapplication.home=$FLEX_HOME" -jar "$JAVAJARDIR/fcsh.jar" $*
