remove java related gems