Fix java deps for Fedora

This is probably going to break like https://github.com/ros/rosdistro/pull/6619 did, but I'll forget if I don't open the PR :stuck_out_tongue: