Switch to travis' jdk7.