Cross compile to support minimum 1.6. Also use oraclejdk7.