#!/bin/bash # # Author: Jiří Blažek (blazek@isn.cz) # App: XYZ # Doc: http://example.com # # java path PRJ="/usr/bin/java" # absolute path home APH=$(dirname $(readlink -f $0)) echo "Asolute path home = "$APH # program $PRJ -Xms128m -Xmx512m -D"APH=${APH}" -cp "${APH}/lib" -jar ${APH}/test.jar $1