update doc with Java version compatibility