Fix compilation error because of vague JDK version check in compile.sh 
Fix compilation error because of vague JDK version check in compile.sh 

Fixes: https://github.com/bazelbuild/bazel/issues/2677

--
Change-Id: Ie8518530dfd9a7eed41c44230e59afbd5724544b
Reviewed-on: https://cr.bazel.build/9455
PiperOrigin-RevId: 150754975
MOS_MIGRATED_REVID=150754975

werkt/bazel,twitter-forks/bazel,spxtr/bazel,meteorcloudy/bazel,dslomov/bazel,dropbox/bazel,twitter-forks/bazel,werkt/bazel,ulfjack/bazel,werkt/bazel,twitter-forks/bazel,katre/bazel,dslomov/bazel,damienmg/bazel,meteorcloudy/bazel,variac/bazel,perezd/bazel,snnn/bazel,ulfjack/bazel,safarmer/bazel,meteorcloudy/bazel,ButterflyNetwork/bazel,damienmg/bazel,ButterflyNetwork/bazel,dropbox/bazel,spxtr/bazel,aehlig/bazel,dropbox/bazel,twitter-forks/bazel,spxtr/bazel,twitter-forks/bazel,cushon/bazel,aehlig/bazel,katre/bazel,akira-baruah/bazel,davidzchen/bazel,snnn/bazel,perezd/bazel,damienmg/bazel,dropbox/bazel,dslomov/bazel,davidzchen/bazel,dslomov/bazel,safarmer/bazel,ulfjack/bazel,snnn/bazel,bazelbuild/bazel,dslomov/bazel-windows,werkt/bazel,meteorcloudy/bazel,davidzchen/bazel,spxtr/bazel,davidzchen/bazel,perezd/bazel,werkt/bazel,akira-baruah/bazel,ButterflyNetwork/bazel,damienmg/bazel,dropbox/bazel,aehlig/bazel,juhalindfors/bazel-patches,ButterflyNetwork/bazel,davidzchen/bazel,spxtr/bazel,twitter-forks/bazel,spxtr/bazel,variac/bazel,bazelbuild/bazel,perezd/bazel,akira-baruah/bazel,perezd/bazel,dslomov/bazel,dslomov/bazel-windows,katre/bazel,ButterflyNetwork/bazel,dslomov/bazel-windows,cushon/bazel,aehlig/bazel,bazelbuild/bazel,snnn/bazel,bazelbuild/bazel,snnn/bazel,variac/bazel,damienmg/bazel,ButterflyNetwork/bazel,davidzchen/bazel,snnn/bazel,juhalindfors/bazel-patches,ulfjack/bazel,katre/bazel,ulfjack/bazel,safarmer/bazel,juhalindfors/bazel-patches,aehlig/bazel,snnn/bazel,variac/bazel,twitter-forks/bazel,aehlig/bazel,safarmer/bazel,meteorcloudy/bazel,bazelbuild/bazel,ulfjack/bazel,variac/bazel,safarmer/bazel,cushon/bazel,variac/bazel,juhalindfors/bazel-patches,dslomov/bazel,katre/bazel,dropbox/bazel,akira-baruah/bazel,dslomov/bazel-windows,bazelbuild/bazel,perezd/bazel,juhalindfors/bazel-patches,aehlig/bazel,katre/bazel,spxtr/bazel,damienmg/bazel,akira-baruah/bazel,safarmer/bazel,davidzchen/bazel,cushon/bazel,werkt/bazel,dslomov/bazel-windows,dslomov/bazel-windows,akira-baruah/bazel,ulfjack/bazel,damienmg/bazel,meteorcloudy/bazel,meteorcloudy/bazel,juhalindfors/bazel-patches,juhalindfors/bazel-patches,dslomov/bazel,perezd/bazel,variac/bazel,cushon/bazel,cushon/bazel