Error:
No suitable Java Virtual Machine could be found on your system. The version of the JVM must be at least 1.8 and at most 9. Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.
Solution:
sudo apt update && sudo apt autoremove -y && sudo apt clean && sudo apt dist-upgrade -y && sudo add-apt-repository ppa:webupd8team/java -y && sudo apt update && sudo apt install oracle-java8-installer