#143 moved the gateway to only be built on jdk 1.7