Better check for JDK 5