some java demo