GitHub user rickysaltzer opened a pull request:
https://github.com/apache/incubator-nifi/pull/35
NIFI-416 Prefer JAVA_HOME over default java binary in RunNiFi
If JAVA_HOME is set and the java command in bootstrap.conf is default,
prefer using JAVA_HOME/bin/java.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rickysaltzer/incubator-nifi NIFI-416
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-nifi/pull/35.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #35
----
commit 4c7fc4a2d2196b84b0aa19539e54d93f49d4b415
Author: ricky <[email protected]>
Date: 2015-03-12T19:31:47Z
RunNiFi will now use JAVA_HOME if specified
- If the default java command ("java") is used in the boostrap, try to use
JAVA_HOME/bin/java, otherwise use the default.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---