[SUM-66850] Remove java dependency - unfortunate hack