fixes: 7073: add dep for OpenJDK and fix error message

you say 1.6 here ... yet below require 1.7