update JavaTest.java