title: Illegal access to create StreamTableEnvironment with JDK 9 in debian
body: <p>I'm creating a StreamTableEnvironment in my Flink 1.11 application, and this works in Windows, but then, when I'm trying to deploy mi jar in Debian with JDK9(same version in Windows) it throws this error:</p>
  <pre><code>Exception in thread &quot;main&quot; java.lang.ExceptionInInitializerError
          at org.apache.flink.table.planner.calcite.FlinkRelFactories$.&lt;init&gt;(FlinkRelFactories.scala:51)
          at org.apache.flink.table.planner.calcite.FlinkRelFactories$.&lt;clinit&gt;(FlinkRelFactories.scala)
          at org.apache.flink.table.planner.calcite.FlinkRelFactories.FLINK_REL_BUILDER(FlinkRelFactories.scala)
          at org.apache.flink.table.planner.delegation.PlannerContext.lambda$getSqlToRelConverterConfig$2(PlannerContext.java:279)
          at java.util.Optional.orElseGet(java.base@9-internal/Optional.java:344)
          at org.apache.flink.table.planner.delegation.PlannerContext.getSqlToRelConverterConfig(PlannerContext.java:273)
          at org.apache.flink.table.planner.delegation.PlannerContext.createFrameworkConfig(PlannerContext.java:137)
          at org.apache.flink.table.planner.delegation.PlannerContext.&lt;init&gt;(PlannerContext.java:113)
          at org.apache.flink.table.planner.delegation.PlannerBase.&lt;init&gt;(PlannerBase.scala:112)
          at org.apache.flink.table.planner.delegation.StreamPlanner.&lt;init&gt;(StreamPlanner.scala:48)
          at org.apache.flink.table.planner.delegation.BlinkPlannerFactory.create(BlinkPlannerFactory.java:50)
          at org.apache.flink.table.api.bridge.java.internal.StreamTableEnvironmentImpl.create(StreamTableEnvironmentImpl.java:130)
          at org.apache.flink.table.api.bridge.java.StreamTableEnvironment.create(StreamTableEnvironment.java:111)
          at org.apache.flink.table.api.bridge.java.StreamTableEnvironment.create(StreamTableEnvironment.java:82)
          at com.teavaro.cep.modules.ml.CEPMLInit.runUseCase(CEPMLInit.java:57)
          at com.teavaro.cep.modules.ml.CEPMLInit.start(CEPMLInit.java:43)
          at com.teavaro.cep.modules.ml.CEPMLInit.prepareUseCase(CEPMLInit.java:35)
          at com.teavaro.cep.pipelines.CEPInit.start(CEPInit.java:47)
          at com.teavaro.cep.StreamingJob.runCEP(StreamingJob.java:121)
          at com.teavaro.cep.StreamingJob.prepareJob(StreamingJob.java:106)
          at com.teavaro.cep.StreamingJob.main(StreamingJob.java:64)
  Caused by: java.lang.RuntimeException: while binding method public default org.apache.calcite.tools.RelBuilder$ConfigBuilder org.apache.calcite.tools.RelBuilder$Config.toBuilder()
          at org.apache.calcite.util.ImmutableBeans.create(ImmutableBeans.java:215)
          at org.apache.calcite.tools.RelBuilder$Config.&lt;clinit&gt;(RelBuilder.java:3074)
          ... 21 more
  Caused by: java.lang.IllegalAccessException: access to public member failed: org.apache.calcite.tools.RelBuilder$Config.toBuilder()ConfigBuilder/invokeSpecial, from org.apache.calcite.tools.RelBuilder$Config/2 (unnamed module @2cc03cd1)
          at java.lang.invoke.MemberName.makeAccessException(java.base@9-internal/MemberName.java:908)
          at java.lang.invoke.MethodHandles$Lookup.checkAccess(java.base@9-internal/MethodHandles.java:1839)
          at java.lang.invoke.MethodHandles$Lookup.checkMethod(java.base@9-internal/MethodHandles.java:1779)
          at java.lang.invoke.MethodHandles$Lookup.getDirectMethodCommon(java.base@9-internal/MethodHandles.java:1928)
          at java.lang.invoke.MethodHandles$Lookup.getDirectMethodNoSecurityManager(java.base@9-internal/MethodHandles.java:1922)
          at java.lang.invoke.MethodHandles$Lookup.unreflectSpecial(java.base@9-internal/MethodHandles.java:1480)
          at org.apache.calcite.util.ImmutableBeans.create(ImmutableBeans.java:213)
  
  </code></pre>
  <p>and this is how I'm using the StreamTableEnvironment:</p>
  <pre><code> StreamTableEnvironment tableEnv = StreamTableEnvironment.create(StreamingJob.env);
              tableEnv.getConfig().getConfiguration().setString(&quot;python.files&quot;, PropertyFileReader.getPythonFiles());
              tableEnv.getConfig().getConfiguration().setString(&quot;python.client.executable&quot;, PropertyFileReader.getPythonClientExecutable());
              tableEnv.getConfig().getConfiguration().setString(&quot;python.executable&quot;, PropertyFileReader.getPythonExecutable());
              tableEnv.getConfig().getConfiguration().setString(&quot;taskmanager.memory.task.off-heap.size&quot;, &quot;79mb&quot;);
              // Registering Python UDF
              tableEnv.executeSql(&quot;CREATE TEMPORARY SYSTEM FUNCTION Inference AS '&quot; + PropertyFileReader.getPythonInferenceFunction() + &quot;' LANGUAGE PYTHON&quot;);
  </code></pre>
  <p>the error appears at this line:<code> StreamTableEnvironment tableEnv = StreamTableEnvironment.create(StreamingJob.env);</code></p>
  <p>I'm using Flink 1.11 with</p>
  <pre><code>&lt;dependency&gt;
              &lt;groupId&gt;org.apache.flink&lt;/groupId&gt;
              &lt;artifactId&gt;flink-table-planner-blink_2.11&lt;/artifactId&gt;
              &lt;version&gt;${flink.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.flink&lt;/groupId&gt;
              &lt;artifactId&gt;flink-python_2.11&lt;/artifactId&gt;
              &lt;version&gt;${flink.version}&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>