Fix java deps for Fedora
Merge pull request #6620 from cottsay/fedora-deps-6

Fix java deps for Fedora