Hi,
The installation was erroring out in my case with the following message:
FATAL: Could not find system javabase. Ensure JAVA_HOME is set, or javac is on your PATH.
which I fixed by adding this export at the beginning of the build script
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk
This seemed to solve the problem, and everything installed correctly.
It may have been an issue with my system from somewhere else, but according to the wiki the JAVA_HOME variable shouldn't be set globally, so I don't know.