delete java demo