Set the HOME envar properly
Install jdk from webupd8 ppa