summarylogtreecommitdiffstats
path: root/jarwrapper
blob: a2c732111506696f3bfdcf664e4d1365103011f8 (plain)
1
2
3
4
5
6
#!/bin/bash
# /usr/bin/jarwrapper - the wrapper for binfmt_misc/jar

# set path to java using JAVA_HOME if available, otherwise assume it's on the PATH
JAVA_PATH=${JAVA_HOME:+$JAVA_HOME/jre/bin/}java
$JAVA_PATH -jar "$@"