refactor java version code, change the test report path