#!/bin/sh __usage=" USAGE: $0 ARGS: the jvm to use the command to run " if [ 3 -gt $# ]; then echo -e "$__usage" else export PATH="/usr/lib/jvm/$1/bin:$PATH" ${@:2} fi