upgrade to Java 6