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

Flavio Junqueira commented on BOOKKEEPER-765:
---------------------------------------------

I'm wondering if falling back to "which java" could cause any problem. In this 
machine at least, "which java" points to the java executable in /usr/bin but 
not the real java home. Just to confirm, is the java executable all we need?

> bookkeeper script should fall back to java in path if JAVA_HOME is not set
> --------------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-765
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-765
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: bookkeeper-server
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>            Priority: Blocker
>             Fix For: 4.3.0, 4.2.3
>
>         Attachments: 
> 0001-BOOKKEEPER-765-bookkeeper-script-should-fall-b.trunk.patch, 
> 0001-BOOKKEEPER-765-bookkeeper-script-should-fall-back-to.patch
>
>
> The current behaviour requires JAVA_HOME to be set, which isn't set by 
> default on all machines. So machines on which bookkeeper ran fine, no longer 
> work.
> Solution is to fallback to java in path is JAVA_HOME not set.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to