[
https://issues.apache.org/jira/browse/SOLR-7024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14289909#comment-14289909
]
Alexandre Rafalovitch commented on SOLR-7024:
---------------------------------------------
I think it should crash/ERROR in that case. Otherwise, it would be impossible
to troubleshoot. JAVA_HOME is supposed to be an override of sorts.
> bin/solr script won't work if JAVA_HOME is set but not valid
> ------------------------------------------------------------
>
> Key: SOLR-7024
> URL: https://issues.apache.org/jira/browse/SOLR-7024
> Project: Solr
> Issue Type: Bug
> Components: scripts and tools
> Affects Versions: 5.0
> Environment: Linux bigindy5 3.10.0-123.9.2.el7.x86_64 #1 SMP Tue Oct
> 28 18:05:26 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> Reporter: Shawn Heisey
> Assignee: Shawn Heisey
> Priority: Blocker
> Fix For: 5.0
>
>
> If JAVA_HOME is set, but does not point to a valid java home, bin/solr will
> not work, even if there is a correct java version available on the path.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]