liner2-cli 248 Bytes
#!/bin/bash
# Get bash script location location
DIR="$( cd "$( dirname "$0" )" && pwd )"

name=liner2-cli
jar=`find $DIR -name "$name*.jar" -type f`

if [ -f "$jar" ] 
then
  java -Xss4m -Xmx10000M -jar $jar $@
else
  echo "Jar file not found."
fi