Change java 1.7 requirement to work with openjdk