Put obtaining of the java version on a parallel thread to improve the start time of buck run.
Put obtaining of the java version on a parallel thread to improve the start time of buck run.

Summary: Validation of java version is not required to happen on the main execution thread. We can schedule it on a different thread and that way we get 23% startup perf improvement for buck run.

Reviewed By: ttsugriy

fbshipit-source-id: 6abf198

Addepar/buck,JoelMarcey/buck,brettwooldridge/buck,shs96c/buck,brettwooldridge/buck,brettwooldridge/buck,rmaz/buck,brettwooldridge/buck,zpao/buck,shs96c/buck,Addepar/buck,brettwooldridge/buck,brettwooldridge/buck,brettwooldridge/buck,rmaz/buck,Addepar/buck,Addepar/buck,shs96c/buck,Addepar/buck,zpao/buck,nguyentruongtho/buck,rmaz/buck,SeleniumHQ/buck,romanoid/buck,Addepar/buck,romanoid/buck,Addepar/buck,SeleniumHQ/buck,JoelMarcey/buck,JoelMarcey/buck,rmaz/buck,brettwooldridge/buck,shs96c/buck,JoelMarcey/buck,nguyentruongtho/buck,Addepar/buck,JoelMarcey/buck,Addepar/buck,SeleniumHQ/buck,facebook/buck,rmaz/buck,brettwooldridge/buck,kageiit/buck,shs96c/buck,nguyentruongtho/buck,facebook/buck,JoelMarcey/buck,Addepar/buck,facebook/buck,SeleniumHQ/buck,SeleniumHQ/buck,rmaz/buck,rmaz/buck,brettwooldridge/buck,romanoid/buck,kageiit/buck,SeleniumHQ/buck,nguyentruongtho/buck,zpao/buck,kageiit/buck,JoelMarcey/buck,Addepar/buck,JoelMarcey/buck,romanoid/buck,JoelMarcey/buck,zpao/buck,shs96c/buck,zpao/buck,rmaz/buck,shs96c/buck,nguyentruongtho/buck,romanoid/buck,facebook/buck,Addepar/buck,facebook/buck,kageiit/buck,shs96c/buck,rmaz/buck,SeleniumHQ/buck,facebook/buck,shs96c/buck,zpao/buck,rmaz/buck,rmaz/buck,SeleniumHQ/buck,romanoid/buck,zpao/buck,JoelMarcey/buck,romanoid/buck,romanoid/buck,SeleniumHQ/buck,JoelMarcey/buck,SeleniumHQ/buck,kageiit/buck,brettwooldridge/buck,facebook/buck,shs96c/buck,nguyentruongtho/buck,SeleniumHQ/buck,shs96c/buck,rmaz/buck,brettwooldridge/buck,JoelMarcey/buck,nguyentruongtho/buck,JoelMarcey/buck,romanoid/buck,rmaz/buck,shs96c/buck,shs96c/buck,romanoid/buck,romanoid/buck,Addepar/buck,kageiit/buck,SeleniumHQ/buck,romanoid/buck,romanoid/buck,SeleniumHQ/buck,kageiit/buck,brettwooldridge/buck