#!/bin/sh # Shell script for running umlet from the command prompt in linux # If you want to put umlet.sh in your home bin directory ($HOME/bin/) to start it from anywhere with # $ umlet.sh myDiagram.uxf # you must specify the programDir directly instead programDir=/opt/Umlet #programDir=$(cd $(dirname $0);pwd) if [ $# -eq 1 ] then java -Dsun.java2d.xrender=f -jar ${programDir}/umlet.jar -filename="$1" else java -Dsun.java2d.xrender=f -jar ${programDir}/umlet.jar "$@" fi