view runbootstrap.sh @ 3218:3d66094eeda1

cleanup, new shell scripts for examples
author Lukas Stadler <lukas.stadler@jku.at>
date Thu, 14 Jul 2011 10:33:35 +0200
parents d577d07cedec
children 344264424174
line wrap: on
line source

#!/bin/bash
if [ -z "${JDK7}" ]; then
  echo "JDK7 is not defined."
  exit 1;
fi
if [ -z "${MAXINE}" ]; then
  echo "MAXINE is not defined. It must point to a maxine repository directory."
  exit 1;
fi
if [ -z "${GRAAL}" ]; then
  echo "GRAAL is not defined. It must point to a maxine repository directory."
  exit 1;
fi
${JDK7}/bin/java -client -d64 -graal $* -version