From: brian Date: Thu, 27 May 2004 13:15:39 +0000 (+0000) Subject: jdk11 check script X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=928afe081fc7f5a12db9aeb327ac1775ae0dc005;p=org.ibex.gcclass.git jdk11 check script darcs-hash:20040527131539-24bed-7b8744e09c24b48109ed5662a4c673484070597f.gz --- diff --git a/jdk11-check.sh b/jdk11-check.sh new file mode 100755 index 0000000..b460893 --- /dev/null +++ b/jdk11-check.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +if [ ! -e jdk11-classes.zip ]; then + echo "You need to get classes.zip from a jdk 1.1 dist and place it" 1>&2 + echo "in the same directory as this script named jdk11-classes.zip." 1>&2 + echo "You can find old jdk distributions on Sun's website." 1>&2 + exit 1 +fi + +if [ "$#" -lt 2 ]; then + echo "Usage: $0 classpath entrypoint 1 [... [entrypoint n]]" 1>&2 + exit 1 +fi + +mkdir -p stripped + +cp="$1" +shift +java -cp build:upstream/bcel-5.1/bcel-5.1.jar \ + com.brian_web.gcclass.GCClass \ + "=jdk11-classes.zip:$cp" stripped "$@" +