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

z.thinjar.thin-jar-maven-plugin.1.0.0.source-code.exec-template.sh Maven / Gradle / Ivy

#!/bin/sh

# Source copied from https://coderwall.com/p/ssuaxa/how-to-make-a-jar-file-linux-executable

MYSELF=`which "$0" 2>/dev/null`
[ $? -gt 0 -a -f "$0" ] && MYSELF="./$0"
java=java
if test -n "$JAVA_HOME"; then
    java="$JAVA_HOME/bin/java"
fi
exec "$java" $JAVA_OPTS -jar $MYSELF "$@"
exit 1




© 2015 - 2025 Weber Informatics LLC | Privacy Policy