Test on different JDKs.