updated JDK requirement from 5 to 6-or-later