java installRoot hook hash exists check