add some java demo