#!/bin/sh
# Copyright (C) 1989-2020 PC2 Development Team: John Clevenger, Douglas Lane, Samir Ashoo, and Troy Boudreau.
#
# Purpose: run pc2tools program
# Author : Douglas A. Lane <pc2@ecs.csus.edu>
#

. `dirname $0`/pc2env

# MacOS or not
if [ -f /mach_kernel ]; then
  # set our dock name (otherwise defaults to Starter)
  PC2XOPS="-Xdock:name=`basename $0`"
else
  PC2XOPS=""
fi

CLASS_NAME=edu.csus.ecs.pc2.tools.PC2Tools

java -Djdk.crypto.KeyAgreement.legacyKDF=true $PC2XOPS -Xms64M -Xmx768M -cp $pc2_classpath $CLASS_NAME $*

# eof pc2tools 
