-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Milestone
Description
It is necessary to upgrade the following bash Script to allow installing latest Java version.
function installJavaForBrickPi() {
apt-key adv --recv-key --keyserver keyserver.ubuntu.com EEA14886
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | sudo tee -a /etc/apt/sources.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | sudo tee -a /etc/apt/sources.list
apt-get update
apt-get install --yes --no-install-recommends oracle-java8-installer
java -Xshare:dump
#Review in the future how to accept licence automatically
#https://askubuntu.com/questions/190582/installing-java-automatically-with-silent-option
}Reactions are currently unavailable