Added travis testing for OracleJDK and OpenJDK.