add cb to java, not work