You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2015/03/17 18:24:39 UTC

[jira] [Commented] (ACCUMULO-3662) Verify correct looking JAVA_HOME in build_native_library.sh

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

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

To be clear, the Makefile does the extracting from the environment. We could modify the Makefile to print a reasonable error message instead of build_native_library.sh.
Under what circumstances have you seen this, though? When a JDK was not installed?

> 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
>            Priority: Critical
>              Labels: newbie, usability
>             Fix For: 1.7.0, 1.6.3
>
>
> 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)