Updated .travis.yml to build with two JDKs.