Updated dependencies versions in Java tutorials

Change-Id: I8cfec91d35f4eff4b51fa406a2783e51d51f6ba1