Using env to get java home
Updating travis to JDK 8