https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/build-aosp-nougat-marshmallow-6-0-1ide
Run the following:ui
sudo apt-get updatesudo apt-get install openjdk-8-jdk