[ https://issues.apache.org/jira/browse/BOOKKEEPER-765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14018708#comment-14018708 ]
Ivan Kelly commented on BOOKKEEPER-765: --------------------------------------- all we need is the java executable. That's all we were using until we made the previous change to allow JAVA_HOME. JAVA_HOME is only really useful if you have multiple java installs. > 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)