Support pre-1.7 JREs.