You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/11 20:29:00 UTC
[jira] [Closed] (HBASE-850) bin/hbase should check `which java` to find java
[ https://issues.apache.org/jira/browse/HBASE-850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell closed HBASE-850.
-------------------------------------
> bin/hbase should check `which java` to find java
> ------------------------------------------------
>
> Key: HBASE-850
> URL: https://issues.apache.org/jira/browse/HBASE-850
> Project: HBase
> Issue Type: Bug
> Components: scripts
> Reporter: Michael Bieniosek
> Priority: Minor
>
> Currently, the bin/hbase script tries to find java in JAVA_HOME/bin/java. If JAVA_HOME isn't set, it errors out.
> Instead, I think it should check `which java 2>/dev/null` to see if there is a java on the user's PATH. If a java is on the user's path, the script should just set JAVA=java.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)