fix java file position