demo java is changed