fix java detection exception
Added license to VersionCheckUtil
Merge pull request #343 from markoscalderon/merge-polling-with-master

Fix java detection exception