NXBT-714: require Java 7