[#1800] Add support for running with JDK 8

[lihthouse #1800](http://play.lighthouseapp.com/projects/57987/tickets/1800)