simple java shell