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 Homebrew/homebrew#44456.

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

jmsundar/brew,MikeMcQuaid/brew,EricFromCanada/brew,mistydemeo/homebrew,muellermartin/dist,muellermartin/dist,bfontaine/brew,palxex/brew,pseudocody/brew,Homebrew/brew,EricFromCanada/brew,rwhogg/brew,nandub/brew,DomT4/brew,mgrimes/brew,AnastasiaSulyagina/brew,pseudocody/brew,jmsundar/brew,mahori/brew,jmsundar/brew,mgrimes/brew,staticfloat/brew,nandub/brew,rwhogg/brew,pseudocody/brew,gregory-nisbet/brew,vitorgalvao/brew,Homebrew/brew,reelsense/brew,rwhogg/brew,ilovezfs/brew,JCount/brew,sjackman/homebrew,sjackman/homebrew,AnastasiaSulyagina/brew,hanxue/linuxbrew,claui/brew,palxex/brew,zmwangx/brew,DomT4/brew,konqui/brew,hanxue/linuxbrew,reitermarkus/brew,nandub/brew,ilovezfs/brew,palxex/brew,Linuxbrew/brew,tonyg/homebrew,gordonmcshane/homebrew,maxim-belkin/brew,konqui/brew,reelsense/brew,konqui/brew,muellermartin/dist,Homebrew/brew,claui/brew,amar-laksh/brew_sudo,gordonmcshane/homebrew,JCount/brew,Homebrew/brew,mahori/brew,reelsense/brew,hanxue/linuxbrew,MikeMcQuaid/brew,staticfloat/brew,sjackman/homebrew,maxim-belkin/brew,alyssais/brew,bfontaine/brew,gregory-nisbet/brew,aw1621107/brew,EricFromCanada/brew,konqui/brew,Linuxbrew/brew,mgrimes/brew,vitorgalvao/brew,claui/brew,reitermarkus/brew,vitorgalvao/brew,gregory-nisbet/brew,alyssais/brew,JCount/brew,mahori/brew,vitorgalvao/brew,mistydemeo/homebrew,reitermarkus/brew,DomT4/brew,alyssais/brew,MikeMcQuaid/brew,aw1621107/brew,aw1621107/brew,MikeMcQuaid/brew,gordonmcshane/homebrew,sjackman/homebrew,DomT4/brew,zmwangx/brew,mistydemeo/homebrew,Linuxbrew/brew,amar-laksh/brew_sudo,staticfloat/brew,nandub/brew,tonyg/homebrew,mahori/brew,toonetown/homebrew,amar-laksh/brew_sudo,reitermarkus/brew,maxim-belkin/brew,zmwangx/brew,toonetown/homebrew,Linuxbrew/brew,AnastasiaSulyagina/brew,tonyg/homebrew,bfontaine/brew,toonetown/homebrew,claui/brew,EricFromCanada/brew,JCount/brew,ilovezfs/brew