Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborbata authored May 9, 2024
1 parent cf5fdad commit d001610
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/main/distribution/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,6 @@

# JPass installation script for Linux

# check if java executable exists
if [ -d "$JAVA_HOME" -a -x "$JAVA_HOME/bin/java" ]; then
JAVACMD="$JAVA_HOME/bin/java"
else
JAVACMD=java
fi

$JAVACMD -version >/dev/null 2>&1
if [ "$?" != "0" ]; then
echo "Install Java (JDK or JRE) if you do not already have. JPass will not work without it."
echo "Please make sure PATH, or JAVA_HOME environment variables point to a valid Java installation."
echo "Could not execute JPass (exit: $?)"
exit
fi

# detect the absolute path of jpass
JPASS_HOME=`dirname "$0"`

Expand Down

0 comments on commit d001610

Please sign in to comment.