#!/bin/sh
# Script for starting Jext on Unix.
#
# This version allows for an install in a central area like /usr/local/jext.
# Set the PWCPPJ2_HOME to /usr/local/pwcppj1 and add this to your PATH in
# /etc/profile.

# Set this to the directory PWCCP is installed in.
# You can leave the dot if you are always going to 
# launch PWCPP from the directory where it is installed.

PWCPPJ1_HOME="/usr/local/pwcppj1"

# Set this to the directory the Java Runtime you want to use
# is installed to.

JAVA_HOME="/usr/jre118"

# Set this to the name of the executable that starts
# Java VM. This is usually called java or jre.

JAVA_CMD="$JAVA_HOME/bin/jre"


JAVA_OPTS="-ms16m -mx32m"
# if you receive a SIGSEGV uncomment the following line and put a # before the line above
# JAVA_OPTS="-ms16m -mx32m -nojit"


# Don't change this line!

exec "$JAVA_CMD" $JAVA_OPTS -classpath "$JAVA_HOME/lib/rt.jar":"$PWCPPJ1_HOME/pwcppj1.jar":"$PWCPPJ1_HOME/xml.jar":"$PWCPPJ1_HOME/swingall.jar":"$PWCPPJ1_HOME/collections.jar" pw.palmpatch.Application "$@"
