open-mpi: add option to enable Java bindings
open-mpi: add option to enable Java bindings

Closes #49774.

Signed-off-by: Dominyk Tiller <53e438f55903875d07efdd98a8aaf887e7208dd3@gmail.com>

sometimesfood/homebrew,scorphus/homebrew,SteveClement/homebrew,josa42/homebrew,gnubila-france/linuxbrew,reelsense/homebrew,Angeldude/linuxbrew,brunchboy/homebrew,mkrapp/homebrew,skinny-framework/homebrew,AlexejK/homebrew,hanxue/homebrew,BrewTestBot/homebrew,galaxy001/homebrew,thinker0/homebrew,ear/homebrew,drbenmorgan/linuxbrew,influxdata/homebrew,optikfluffel/homebrew,tutumcloud/homebrew,emcrisostomo/homebrew,scorphus/homebrew,sjackman/linuxbrew,OJFord/homebrew,deorth/homebrew,sakra/homebrew,quantumsteve/homebrew,Homebrew/homebrew,dutchcoders/homebrew,kevinastone/homebrew,3van/homebrew,quantumsteve/homebrew,georgschoelly/homebrew,scorphus/homebrew,saketkc/linuxbrew,michaKFromParis/homebrew-sparks,dericed/homebrew,josa42/homebrew,Linuxbrew/linuxbrew,SuperNEMO-DBD/cadfaelbrew,dutchcoders/homebrew,frodeaa/homebrew,galaxy001/homebrew,booi/homebrew,reelsense/homebrew,DoomHammer/linuxbrew,ear/homebrew,georgschoelly/homebrew,theeternalsw0rd/homebrew,SuperNEMO-DBD/cadfaelbrew,dongcarl/homebrew,gnubila-france/linuxbrew,michaKFromParis/homebrew-sparks,Homebrew/homebrew,dplarson/homebrew,sferik/homebrew,dplarson/homebrew,booi/homebrew,frodeaa/homebrew,tschoonj/homebrew,liamstask/homebrew,cscetbon/homebrew,Homebrew/linuxbrew,kevinastone/homebrew,muellermartin/homebrew,Homebrew/homebrew,SteveClement/homebrew,sometimesfood/homebrew,reelsense/homebrew,lrascao/homebrew,totalvoidness/homebrew,dplarson/homebrew,Asuranceturix/homebrew,Asuranceturix/homebrew,SteveClement/homebrew,benjaminfrank/homebrew,nandub/homebrew,thinker0/homebrew,benjaminfrank/homebrew,deorth/homebrew,SuperNEMO-DBD/cadfaelbrew,thinker0/homebrew,ilovezfs/homebrew,thinker0/homebrew,brunchboy/homebrew,nandub/homebrew,ralic/homebrew,filcab/homebrew,quantumsteve/homebrew,gnubila-france/linuxbrew,muellermartin/homebrew,chadcatlett/homebrew,theeternalsw0rd/homebrew,getgauge/homebrew,DoomHammer/linuxbrew,filcab/homebrew,influxdata/homebrew,joshfriend/homebrew,tschoonj/homebrew,SuperNEMO-DBD/cadfaelbrew,skinny-framework/homebrew,skinny-framework/homebrew,3van/homebrew,LinusU/homebrew,theeternalsw0rd/homebrew,liamstask/homebrew,skinny-framework/homebrew,elgertam/homebrew,3van/homebrew,sometimesfood/homebrew,reelsense/linuxbrew,drbenmorgan/linuxbrew,gawbul/homebrew,dericed/homebrew,kevinastone/homebrew,Angeldude/linuxbrew,SteveClement/homebrew,kevinastone/homebrew,SteveClement/homebrew,joshfriend/homebrew,emcrisostomo/homebrew,sferik/homebrew,OJFord/homebrew,galaxy001/homebrew,dericed/homebrew,saketkc/linuxbrew,cscetbon/homebrew,brunchboy/homebrew,AlexejK/homebrew,dickeyxxx/homebrew,marcwebbie/homebrew,ExtremeMan/homebrew,ablyler/homebrew,josa42/homebrew,hanxue/homebrew,drbenmorgan/linuxbrew,liamstask/homebrew,dongcarl/homebrew,Angeldude/linuxbrew,marcwebbie/homebrew,theeternalsw0rd/homebrew,LinusU/homebrew,DoomHammer/linuxbrew,Angeldude/linuxbrew,influxdb/homebrew,elgertam/homebrew,dutchcoders/homebrew,yumitsu/homebrew,scorphus/homebrew,dongcarl/homebrew,ilovezfs/homebrew,influxdb/homebrew,dickeyxxx/homebrew,tutumcloud/homebrew,ExtremeMan/homebrew,BrewTestBot/homebrew,georgschoelly/homebrew,influxdata/homebrew,base10/homebrew,marcwebbie/homebrew,gawbul/homebrew,pcottle/homebrew,Linuxbrew/linuxbrew,lrascao/homebrew,yumitsu/homebrew,sakra/homebrew,BrewTestBot/homebrew,saketkc/linuxbrew,nandub/homebrew,optikfluffel/homebrew,nandub/homebrew,ExtremeMan/homebrew,dickeyxxx/homebrew,getgauge/homebrew,sakra/homebrew,optikfluffel/homebrew,dplarson/homebrew,michaKFromParis/homebrew-sparks,Homebrew/linuxbrew,dongcarl/homebrew,dutchcoders/homebrew,sjackman/linuxbrew,ear/homebrew,ilovezfs/homebrew,elgertam/homebrew,ilovezfs/homebrew,deorth/homebrew,frodeaa/homebrew,tschoonj/homebrew,sferik/homebrew,filcab/homebrew,mkrapp/homebrew,Homebrew/homebrew,saketkc/linuxbrew,cscetbon/homebrew,reelsense/linuxbrew,LinusU/homebrew,totalvoidness/homebrew,booi/homebrew,mkrapp/homebrew,influxdb/homebrew,afh/homebrew,joshfriend/homebrew,emcrisostomo/homebrew,totalvoidness/homebrew,marcwebbie/homebrew,afh/homebrew,ablyler/homebrew,sjackman/linuxbrew,ralic/homebrew,ralic/homebrew,emcrisostomo/homebrew,tutumcloud/homebrew,Linuxbrew/linuxbrew,tschoonj/homebrew,ablyler/homebrew,chadcatlett/homebrew,base10/homebrew,DoomHammer/linuxbrew,getgauge/homebrew,LinusU/homebrew,sometimesfood/homebrew,3van/homebrew,base10/homebrew,muellermartin/homebrew,Asuranceturix/homebrew,filcab/homebrew,totalvoidness/homebrew,afh/homebrew,pcottle/homebrew,ablyler/homebrew,georgschoelly/homebrew,reelsense/linuxbrew,afh/homebrew,hanxue/homebrew,Asuranceturix/homebrew,galaxy001/homebrew,OJFord/homebrew,liamstask/homebrew,influxdata/homebrew,pcottle/homebrew,BrewTestBot/homebrew,AlexejK/homebrew,gnubila-france/linuxbrew,influxdb/homebrew,muellermartin/homebrew,ralic/homebrew,Homebrew/linuxbrew,sakra/homebrew,chadcatlett/homebrew,gawbul/homebrew,frodeaa/homebrew,dickeyxxx/homebrew,elgertam/homebrew,optikfluffel/homebrew,drbenmorgan/linuxbrew,reelsense/linuxbrew,dericed/homebrew,OJFord/homebrew,benjaminfrank/homebrew,ear/homebrew,pcottle/homebrew,brunchboy/homebrew,reelsense/homebrew,quantumsteve/homebrew,lrascao/homebrew,yumitsu/homebrew,base10/homebrew,hanxue/homebrew,Asuranceturix/homebrew,benjaminfrank/homebrew,AlexejK/homebrew,Linuxbrew/linuxbrew,sferik/homebrew,sjackman/linuxbrew,ExtremeMan/homebrew,Homebrew/linuxbrew,pcottle/homebrew,getgauge/homebrew,tutumcloud/homebrew