add java version doc