simple java tool