[ https://issues.apache.org/jira/browse/ACCUMULO-3662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14561910#comment-14561910 ]
Josh Elser commented on ACCUMULO-3662: -------------------------------------- Ah, so I see this. I think making this work for Linux is a good improvement. We could always revisit for Darwin in a future pass if it bugs someone. Thank you for looking into this! > Verify correct looking JAVA_HOME in build_native_library.sh > ----------------------------------------------------------- > > Key: ACCUMULO-3662 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3662 > Project: Accumulo > Issue Type: Improvement > Components: scripts > Reporter: Josh Elser > Assignee: Christopher Tubbs > Priority: Critical > Labels: newbie, usability > Fix For: 1.6.3, 1.8.0, 1.7.1 > > > JAVA_HOME needs to be set to a valid JDK to run {{build_native_library.sh}} > successfully. Either it's extracted from the environment or it's set in > accumulo-env.sh. > Either way, when it isn't set (or set incorrectly), we should catch this, > print a warning and exit the script to prevent the deluge 'JNI_EXPORT' > related error messages. -- This message was sent by Atlassian JIRA (v6.3.4#6332)