### 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' commandsudo apt-get install software-properties-common### https://askubuntu.com/questions/464755/how-to-install-openjdk-8-on-14-04-ltssudo add-apt-repository ppa:openjdk-r/ppasudo apt-get updatesudo apt-get install openjdk-8-jdksudo 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