Add java rescusive