Solved
JAVA_HOME not set; results may vary - no solution found
If I do echo $JAVA_HOME I get /usr/lib/jvm/java-8-openjdk-amd64 as a response, yet I cannot get nifi to see it when it starts, always gives this:
nifi.sh: JAVA_HOME not set; results may vary
Java home:
NiFi home: /opt/nifi-1.12.0
This is on a clean Ubuntu 18.04 installation, having followed these instructions: https://techexpert.tips/apache-nifi/apache-nifi-installation-ubuntu-linux/
At this point really not sure what to do.

