check with java6