#!/bin/sh

[ -z "${PREFIX}" ]     && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ]    && DATADIR="%%DATADIR%%"

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

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