Modified the java cookbook to use a newer version of Java 6.