updated demo, java now