readme: modified java configuration way