buildhive cannot offers a jdk 1.6 and for this reason I switched to travis-ci