Use project-defined Java installation for keytool (elastic/elasticsearch#4066)
Use project-defined Java installation for keytool (elastic/elasticsearch#4066)

Companion commit for elastic/elasticsearchelastic/elasticsearch#21540

Original commit: elastic/x-pack-elasticsearch@a1c21ece2529abc589e190147b745a36cfa407ad

coding0011/elasticsearch,gingerwizard/elasticsearch,strapdata/elassandra,gfyoung/elasticsearch,gingerwizard/elasticsearch,gingerwizard/elasticsearch,gfyoung/elasticsearch,uschindler/elasticsearch,strapdata/elassandra,nknize/elasticsearch,vroyer/elassandra,uschindler/elasticsearch,HonzaKral/elasticsearch,coding0011/elasticsearch,GlenRSmith/elasticsearch,scorpionvicky/elasticsearch,robin13/elasticsearch,GlenRSmith/elasticsearch,uschindler/elasticsearch,HonzaKral/elasticsearch,scorpionvicky/elasticsearch,robin13/elasticsearch,gingerwizard/elasticsearch,GlenRSmith/elasticsearch,scorpionvicky/elasticsearch,uschindler/elasticsearch,nknize/elasticsearch,gfyoung/elasticsearch,strapdata/elassandra,robin13/elasticsearch,scorpionvicky/elasticsearch,strapdata/elassandra,HonzaKral/elasticsearch,vroyer/elassandra,coding0011/elasticsearch,gingerwizard/elasticsearch,nknize/elasticsearch,coding0011/elasticsearch,gingerwizard/elasticsearch,HonzaKral/elasticsearch,GlenRSmith/elasticsearch,coding0011/elasticsearch,uschindler/elasticsearch,gingerwizard/elasticsearch,GlenRSmith/elasticsearch,scorpionvicky/elasticsearch,vroyer/elassandra,robin13/elasticsearch,gfyoung/elasticsearch,strapdata/elassandra,gfyoung/elasticsearch,nknize/elasticsearch,nknize/elasticsearch,robin13/elasticsearch