java demo done