### Java 8 for CM14.1+ builds in Ubuntu 14.04 chroot ### HADK 4.4.2 Entering Ubuntu Chroot ### can be done in addition to openjdk7 install # needed for 'add-apt-repository' command sudo apt-get install software-properties-common ### https://askubuntu.com/questions/464755/how-to-install-openjdk-8-on-14-04-lts sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt-get install openjdk-8-jdk sudo update-java-alternatives -s java-1.8.0-openjdk-amd64 #sudo update-alternatives --config java (to check or manually change to 1.7) #sudo update-alternatives --config javac (seems to stay on 1.7 "auto" despite previous command, not sure it matters) ### ImageMagick seems to be needed for bootanimation : sudo apt-get install imagemagick