Megathread for MineOS webui issues

Why can’t I update Java? I followed instructions at http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html?m=1 and the commands don’t work.

This worked for me and I suspect will work for you, make sure you follow all spaces, commas and quotation marks to the letter:

sh -c ‘echo “deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main” >> /etc/apt/sources.list’
sh -c ‘echo “deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main” >> /etc/apt/sources.list’
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer

update to java 9 would then be:

sh -c ‘echo “deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main” >> /etc/apt/sources.list’
sh -c ‘echo “deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main” >> /etc/apt/sources.list’
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
apt-get update
apt-get install oracle-java9-installer

NOTE: I have tested above java8 commands as working on MineOS Node JS and will remove this note once it is confirmed we should upgrade to java9 and I have confirmed testing java9 commands as working!

Good Luck!

tNt