accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3662) Verify correct looking JAVA_HOME in build_native_library.sh
Date Wed, 27 May 2015 22:50:17 GMT

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

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

We use {{/usr/libexec/java_home}} right now. We actually don't even do the logic of allowing
a user to override with JAVA_HOME environment. We only do that on Linux. We could probably
improve that, too. I'll have to check with my goto Makefile expert to see how we could consolidate
some of this into a function.

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

Mime
View raw message