Try specifying jdk versions in .travis.yml

This may not work, since we don't specify language: java
The Travis documentation isn't clear, so let's just try it and
see what happens.