Install oracle java on Ubuntu 16.04
To avoid this error:
ERROR: Couldn't find a java virtual machine,
define JAVACMD, JAVA_BINDIR, JAVA_HOME or PATH.
You can add oracle java to your repositories:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java9-installer -y
ERROR: Couldn't find a java virtual machine,
define JAVACMD, JAVA_BINDIR, JAVA_HOME or PATH.
You can add oracle java to your repositories:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java9-installer -y
Comments
Post a Comment