You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2015/04/30 14:40:06 UTC

[jira] [Commented] (SOLR-7024) bin/solr: Improve java detection and error messages

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

David Smiley commented on SOLR-7024:
------------------------------------

The bin/solr script on 5x will report an error to the user if Java isn't installed, but it will claim Java 8:
{code}
echo >&2 "A working Java 8 is required to run Solr!"
{code} 

> bin/solr: Improve java detection and error messages
> ---------------------------------------------------
>
>                 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
>             Fix For: 5.0, Trunk
>
>         Attachments: SOLR-7024.patch, SOLR-7024.patch, SOLR-7024.patch, SOLR-7024.patch, SOLR-7024.patch, SOLR-7024.patch, SOLR-7024.patch, SOLR-7024.patch, SOLR-7024.patch, SOLR-7024.patch
>
>
> Java detection needs a bit of an overhaul.  One example: When running the shell script, if JAVA_HOME is set, but does not point to a valid java home, Solr will not start, but the error message is unhelpful, especially to users who actually DO have the right java version installed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org