@@ -32,7 +32,7 @@ Arrow Java uses the `Maven <https://maven.apache.org/>`_ build system.
3232
3333Building requires:
3434
35- * JDK 11 +
35+ * JDK 17 +
3636* Maven 3+
3737
3838.. note ::
@@ -345,7 +345,7 @@ configuration file usually located under ``${HOME}/.m2`` with the following snip
345345 <toolchain>
346346 <type>jdk</type>
347347 <provides>
348- <version>21</version> <!-- Replace with the corresponding JDK version: 11, 17 , ... -->
348+ <version>21</version> <!-- Replace with the corresponding JDK version: 17, 21 , ... -->
349349 <vendor>temurin</vendor> <!-- Replace with the vendor/distribution: temurin, oracle, zulu ... -->
350350 </provides>
351351 <configuration>
@@ -383,11 +383,11 @@ Arrow repository, and update the following settings:
383383 right click the directory, and select Mark Directory as > Generated Sources
384384 Root. There is no need to mark other generated sources directories, as only
385385 the ``vector `` module generates sources.
386- * For JDK 11, due to an `IntelliJ bug
387- <https://youtrack.jetbrains.com/issue/IDEA-201168> `__, you must go into
386+ * Due to an `IntelliJ bug
387+ <https://youtrack.jetbrains.com/issue/IDEA-201168> `__, you may need to go into
388388 Settings > Build, Execution, Deployment > Compiler > Java Compiler and disable
389389 "Use '--release' option for cross-compilation (Java 9 and later)". Otherwise
390- you will get an error like "package sun.misc does not exist".
390+ you may get an error like "package sun.misc does not exist".
391391* You may want to disable error-prone entirely if it gives spurious
392392 warnings (disable both error-prone profiles in the Maven tool window
393393 and "Reload All Maven Projects").
@@ -397,7 +397,7 @@ Arrow repository, and update the following settings:
397397* To enable debugging JNI-based modules like ``dataset ``,
398398 activate specific profiles in the Maven tab under "Profiles".
399399 Ensure the profiles ``arrow-c-data ``, ``arrow-jni ``, ``generate-libs-cdata-all-os ``,
400- ``generate-libs-jni-macos-linux ``, and ``jdk11 + `` are enabled, so that the
400+ ``generate-libs-jni-macos-linux ``, and ``jdk17 + `` are enabled, so that the
401401 IDE can build them and enable debugging.
402402
403403You may not need to update all of these settings if you build/test with the
@@ -478,8 +478,8 @@ Installing Manually
478478 .. code-block :: xml
479479
480480 <properties >
481- <maven .compiler.source>8 </maven .compiler.source>
482- <maven .compiler.target>8 </maven .compiler.target>
481+ <maven .compiler.source>17 </maven .compiler.source>
482+ <maven .compiler.target>17 </maven .compiler.target>
483483 <arrow .version>9.0.0.dev501</arrow .version>
484484 </properties >
485485
0 commit comments