travis build working with openjdk 6,7 and oracle jdk 7