demo java file