log.warning if java7 on macosx