diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 9789525..8dd0b20 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -68,7 +68,7 @@ cd $deploy_path || { echo "Failed to change directory to $deploy_path"; exit 1; # Iterate over the JAR files array for jar in "${jars[@]}"; do echo "Starting $jar" - nohup /usr/lib/jvm/jdk1.8.0_381/bin/java -jar $jar >/dev/null 2>&1 & + nohup java -jar $jar >/dev/null 2>&1 & done echo "All JARs have been run successfully."