[ 
https://issues.apache.org/jira/browse/ACCUMULO-3662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14561893#comment-14561893
 ] 

Christopher Tubbs commented on ACCUMULO-3662:
---------------------------------------------

The question about Darwin was because JAVA_HOME is set differently for Darwin, 
so we'd have to do the check for both. But, the Darwin check may not be 
necessary if all Macs (that we care about) come pre-installed with JDK.

> 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)

Reply via email to