Build using JDK 6 instead of 7

Plugin wouldn't run on OSX Mavericks by default because Apple still
ships JDK 1.6 even though it is unsupported since 2013 in Mavericks.
Merge branch 'bug/jdk-6'