java: use JDK 11

This is needed for newer versions of the gerrit owners plugin.

We also need to add zlib to our shell, as binary builds of JDK11 used by
Bazel require it.

Change-Id: Idbbc5e0d88cac13daf2e5f201be6032412bf1a5d
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1641
Reviewed-by: implr <implr@hackerspace.pl>
diff --git a/.bazelrc b/.bazelrc
index 9d3a556..d56cdd1 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -8,3 +8,4 @@
 test --test_output=errors
 build --cxxopt=-std=c++14
 build --host_cxxopt=-std=c++14
+build --java_language_version=11