Wrong java home path

This commit is contained in:
Andrea Cavalli 2021-09-26 01:39:26 +02:00
parent 150dfd1791
commit 03178a15a7

View File

@ -1,6 +1,6 @@
#!/bin/bash -e
export JAVA_HOME
JAVA_HOME="/usr/lib/jvm/$(find "/usr/lib/jvm/" -maxdepth 1 -type d -iname "java*jdk*" | head -n 1)/"
JAVA_HOME="$(find "/usr/lib/jvm/" -maxdepth 1 -type d -iname "java*jdk*" | head -n 1)/"
export JAVA_INCLUDE_PATH="$JAVA_HOME/include"
source ./scripts/continuous-integration/github-workflows/setup-variables.sh
# Check variables correctness