Add java dependencies