accumulo-notifications mailing list archives

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


Christopher Tubbs commented on ACCUMULO-3662:

I think we can add a quick check to verify {{$JAVA_HOME/bin/javah}} exists in the Makefile,
right? That should be sufficient to determine if the JAVA_HOME points to a JDK. After that,
we can just assume the JNI headers are in the include directory. We could check for the JNI
headers directly, but that may not be as platform-independent as checking for the existence
of javah.

Do we need to do this check on Darwin also, or just Linux? I mean, can we assume Darwin has
a JDK installed, or no?

> Verify correct looking JAVA_HOME in
> -----------------------------------------------------------
>                 Key: ACCUMULO-3662
>                 URL:
>             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 {{}} successfully.
Either it's extracted from the environment or it's set in
> 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

View raw message