Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentgo committed Jul 16, 2024
1 parent 0b99a4e commit 5f840e3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/source/developers/java/building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Arrow Java uses the `Maven <https://maven.apache.org/>`_ build system.

Building requires:

* JDK 8+
* JDK 11+
* Maven 3+

.. note::
Expand Down
2 changes: 1 addition & 1 deletion docs/source/java/flight_sql_jdbc_driver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This driver can be used with any database that implements Flight SQL.
Installation and Requirements
=============================

The driver is compatible with JDK 8+. On JDK 9+, the following JVM
The driver is compatible with JDK 11+. Note that the following JVM
parameter is required:

.. code-block:: shell
Expand Down
4 changes: 2 additions & 2 deletions docs/source/java/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ Java Compatibility
==================

Java modules are compatible with JDK 8 and above. Currently, JDK versions
8, 11, 17, and 21 are tested in CI. The latest JDK is also tested in CI.
11, 17, and 21 are tested in CI. The latest JDK is also tested in CI.

When using Java 9 or later, some JDK internals must be exposed by
Note that some JDK internals must be exposed by
adding ``--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED`` to the ``java`` command:

.. code-block:: shell
Expand Down
2 changes: 1 addition & 1 deletion java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ variable are set, the system property takes precedence.

## Java Properties

* For Java 9 or later, should set `-Dio.netty.tryReflectionSetAccessible=true`.
* `-Dio.netty.tryReflectionSetAccessible=true` should be set.
This fixes `java.lang.UnsupportedOperationException: sun.misc.Unsafe or java.nio.DirectByteBuffer.(long, int) not available`. thrown by Netty.
* To support duplicate fields in a `StructVector` enable `-Darrow.struct.conflict.policy=CONFLICT_APPEND`.
Duplicate fields are ignored (`CONFLICT_REPLACE`) by default and overwritten. To support different policies for
Expand Down

0 comments on commit 5f840e3

Please sign in to comment.