keg: add java to SHARE_PATHS
keg: add java to SHARE_PATHS

Add `java` to `SHARE_PATHS` so that `HOMEBREW_PREFIX/share/java` is a folder with symlinks in it, rather than a symlink to a folder for a specific formula.

This way we avoid conflicts if multiple formulas put `jar` files in the
standard location `HOMEBREW_PREFIX/share/java`.

See also:
[pull request 44420](https://github.com/Homebrew/homebrew/pull/44420)

Closes #44456.

Signed-off-by: Xu Cheng <9a05244150b861e40c78843b801eed71bca54eac@me.com>

kwilczynski/homebrew,kwilczynski/homebrew,kwilczynski/homebrew,kwilczynski/homebrew