kou commented on code in PR #14623:
URL: https://github.com/apache/arrow/pull/14623#discussion_r1020806320


##########
docs/source/developers/java/building.rst:
##########
@@ -132,7 +132,12 @@ Maven
         $ cd arrow/java
         $ export JAVA_HOME=<absolute path to your java home>
         $ java --version
-        $ mvn generate-resources -Pgenerate-libs-jni-macos-linux -N
+        $ mvn generate-resources \
+            -Pgenerate-libs-jni-macos-linux \
+            -DARROW_GANDIVA=ON \
+            -DARROW_JAVA_JNI_ENABLE_GANDIVA=ON \
+            -DARROW_JAVA_JNI_ENABLE_C=ON \

Review Comment:
   Ah, sorry. I meant the followings:
   
   ```bash
   mvn clean install
   rm -rf ../java-dist ../java-jni
   mvn generate-resources -Pgenerate-libs-cdata-all-os -N
   mvn generate-resources -Pgenerate-libs-jni-macos-linux -DARROW_GANDIVA=ON 
-DARROW_JAVA_JNI_ENABLE_GANDIVA=ON -N
   mvn -Darrow.cpp.build.dir=$PWD/../java-dist/lib/ 
-Darrow.c.jni.dist.dir=$PWD/../java-dist/lib/ -Parrow-jni clean install
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to