# The documentation does not seem to document the minimum JDK runtime requirement for \`org.elasticsearch.plugin:x-pack-sql-jdbc\`

**URL:** <https://discuss.elastic.co/t/the-documentation-does-not-seem-to-document-the-minimum-jdk-runtime-requirement-for-org-elasticsearch-plugin-x-pack-sql-jdbc/372078>\
**Category:** Elasticsearch\
**Tags:** runtime-fields\
**Created:** [December 17, 2024, 3:25pm UTC](https://discuss.elastic.co/t/the-documentation-does-not-seem-to-document-the-minimum-jdk-runtime-requirement-for-org-elasticsearch-plugin-x-pack-sql-jdbc/372078 "2024-12-17T15:25:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![linghengqian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/linghengqian/32/103651_2.png) [@linghengqian](https://discuss.elastic.co/u/linghengqian)\
**Post date:** [December 17, 2024, 3:25pm UTC](https://discuss.elastic.co/t/the-documentation-does-not-seem-to-document-the-minimum-jdk-runtime-requirement-for-org-elasticsearch-plugin-x-pack-sql-jdbc/372078/1 "2024-12-17T15:25:39Z")

</div>

- The documentation does not seem to document the minimum JDK runtime requirement for `org.elasticsearch.plugin:x-pack-sql-jdbc`.
- I am of course aware that using the JDBC driver requires a trial or paid license for the Elasticsearch cluster, and that the JDBC driver `org.elasticsearch.plugin:x-pack-sql-jdbc` itself is not an OSS license. I mainly want to test the PR [[FLINK-30702] Add Elasticsearch dialect by grzegorz8 · Pull Request #136 · apache/flink-connector-jdbc · GitHub](https://github.com/apache/flink-connector-jdbc/pull/136) on the Apache Flink side locally.
- But [SQL JDBC | Elasticsearch Guide [8.17] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-jdbc.html) does not seem to record the minimum JDK version requirement for `org.elasticsearch.plugin:x-pack-sql-jdbc`.
- I want to know whether the minimum JDK version requirement for `org.elasticsearch.plugin:x-pack-sql-jdbc` is JDK 8, or JDK23 consistent with Elasticsearch Server? I'm referring to [Update bundled jdk to 23 by rjernst · Pull Request #114823 · elastic/elasticsearch · GitHub](https://github.com/elastic/elasticsearch/pull/114823) .

---

<div class="post-metadata">

**Author:** ![linghengqian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/linghengqian/32/103651_2.png) [@linghengqian](https://discuss.elastic.co/u/linghengqian)\
**Post date:** [January 10, 2025, 8:05am UTC](https://discuss.elastic.co/t/the-documentation-does-not-seem-to-document-the-minimum-jdk-runtime-requirement-for-org-elasticsearch-plugin-x-pack-sql-jdbc/372078/2 "2025-01-10T08:05:09Z")

</div>

- I have opened [The documentation does not seem to document the minimum JDK runtime requirement for `org.elasticsearch.plugin:x-pack-sql-jdbc` · Issue #119924 · elastic/elasticsearch · GitHub](https://github.com/elastic/elasticsearch/issues/119924) .

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 10, 2025, 8:18am UTC](https://discuss.elastic.co/t/the-documentation-does-not-seem-to-document-the-minimum-jdk-runtime-requirement-for-org-elasticsearch-plugin-x-pack-sql-jdbc/372078/3 "2025-01-10T08:18:42Z")

</div>

I don't understand. The plugin runs inside Elasticsearch so it uses the JVM provided by Elasticsearch.  
It's not meant to be reused anywhere else.

---

<div class="post-metadata">

**Author:** ![linghengqian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/linghengqian/32/103651_2.png) [@linghengqian](https://discuss.elastic.co/u/linghengqian)\
**Post date:** [January 10, 2025, 1:53pm UTC](https://discuss.elastic.co/t/the-documentation-does-not-seem-to-document-the-minimum-jdk-runtime-requirement-for-org-elasticsearch-plugin-x-pack-sql-jdbc/372078/4 "2025-01-10T13:53:11Z")

</div>

- I am surprised that the usage of `org.elasticsearch.plugin:x-pack-sql-jdbc` is mainly for Elasticsearch internals, even though the module is documented. I will sync this idea to [[FLINK-30702] Add Elasticsearch dialect by grzegorz8 · Pull Request #136 · apache/flink-connector-jdbc · GitHub](https://github.com/apache/flink-connector-jdbc/pull/136) .

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 10, 2025, 9:01pm UTC](https://discuss.elastic.co/t/the-documentation-does-not-seem-to-document-the-minimum-jdk-runtime-requirement-for-org-elasticsearch-plugin-x-pack-sql-jdbc/372078/5 "2025-01-10T21:01:21Z")

</div>

Oh! I thought it was an internal plugin jar but actually no.  
Forget about what I wrote earlier on. I was wrong.
