All Downloads are FREE. Search and download functionalities are using the official Maven repository.

linux.launcher.sh Maven / Gradle / Ivy

Go to download

A Maven plugin that creates launchers for Windows (using Janel), Mac OS X (creating a .app structure, or tree with shell script) or Linux (using a shell script). (Apache License v2) 2008-2013 Matt Gumbley, DevZendo.org

The newest version!
#!/bin/sh
#
# resolve symlinks to launch script
#

PRG=$0

while [ -h "$PRG" ]; do
    ls=`ls -ld "$PRG"`
    link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null`
    if expr "$link" : '^/' 2> /dev/null >/dev/null; then
	PRG="$link"
    else
	PRG="`dirname "$PRG"`/$link"
    fi
done

progdir=`dirname "$PRG"`
APPNAME=`basename "$0"`

exec java ${xplp.linuxjvmargs}-cp ${xplp.linuxclasspatharray} -Djava.library.path=$progdir/../lib ${xplp.mainclassname} $@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy