readme: added java configuration way