Add a check to see if user has Java 7 and above or not for use later