ARROW-10621: [Java] Put required libraries into the common directory
ARROW-10621: [Java] Put required libraries into the common directory

This PR copies the required shared libraries for Java into the directory (`${ARROW_HOME}/lib`) where the test will refer to thru LD_LIBRARY_PATH.

Closes #8683 from kiszk/ARROW-10621

Authored-by: Kazuaki Ishizaki <409019bab0e07036ad6abfa289bcfe098eb16317@jp.ibm.com>
Signed-off-by: Sutou Kouhei <73218711cdd5d5c30ac66da3cc4d9d9204caf34b@clear-code.com>

xhochy/arrow,icexelloss/arrow,laurentgo/arrow,kou/arrow,xhochy/arrow,cpcloud/arrow,wesm/arrow,wesm/arrow,kou/arrow,cpcloud/arrow,laurentgo/arrow,cpcloud/arrow,kou/arrow,xhochy/arrow,kou/arrow,apache/arrow,apache/arrow,laurentgo/arrow,laurentgo/arrow,wesm/arrow,apache/arrow,cpcloud/arrow,icexelloss/arrow,cpcloud/arrow,laurentgo/arrow,xhochy/arrow,apache/arrow,wesm/arrow,apache/arrow,apache/arrow,cpcloud/arrow,icexelloss/arrow,xhochy/arrow,kou/arrow,xhochy/arrow,wesm/arrow,apache/arrow,apache/arrow,cpcloud/arrow,xhochy/arrow,icexelloss/arrow,icexelloss/arrow,xhochy/arrow,icexelloss/arrow,xhochy/arrow,laurentgo/arrow,laurentgo/arrow,kou/arrow,icexelloss/arrow,wesm/arrow,wesm/arrow,cpcloud/arrow,apache/arrow,xhochy/arrow,kou/arrow,kou/arrow,kou/arrow,kou/arrow,xhochy/arrow,wesm/arrow,cpcloud/arrow,kou/arrow,xhochy/arrow,apache/arrow,laurentgo/arrow,xhochy/arrow,apache/arrow,wesm/arrow,wesm/arrow,apache/arrow,kou/arrow,laurentgo/arrow,xhochy/arrow,icexelloss/arrow,kou/arrow,icexelloss/arrow,cpcloud/arrow,icexelloss/arrow,laurentgo/arrow,laurentgo/arrow,laurentgo/arrow,cpcloud/arrow,xhochy/arrow,cpcloud/arrow,icexelloss/arrow,cpcloud/arrow,cpcloud/arrow,laurentgo/arrow,icexelloss/arrow,apache/arrow,icexelloss/arrow,wesm/arrow,icexelloss/arrow,wesm/arrow,wesm/arrow,laurentgo/arrow,laurentgo/arrow,wesm/arrow,apache/arrow,kou/arrow