Update JavaTools.java