2 #####################################################################
4 # Startup script for BCEL Verifier
6 #####################################################################
9 BCEL_JAR
="/usr/share/java/bcel.jar"
13 echo "BCELVerifier (JustIce) v.5.2"
14 echo "This tool is a part of BCEL library"
16 echo "Usage: bcelverifier [options] fully_qualified_class_name"
19 echo " -cp PATHS - append paths to java classpath"
25 if [[ -z "$@" ]]; then
32 while [[ -n "$1" ]]; do
36 classpath
="$classpath:$1"
44 if [[ -n "$class" ]]; then
53 if [[ -z "$class" ]]; then
58 export CLASSPATH
="$BCEL_JAR:$(pwd)$classpath"
60 "$JAVA_HOME/bin/java" org.apache.bcel.verifier.Verifier
"$class"