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

Anshum Gupta commented on SOLR-7024:
------------------------------------

I'm not sure if this is expected/wanted. What happens when JAVA_HOME is not set 
at all? I think that should be the failover too but at the same time, it should 
at least echo a WARNING in such a case before the auto-failover happens.

> 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]

Reply via email to