[
https://issues.apache.org/jira/browse/SOLR-7047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14294989#comment-14294989
]
Jan Høydahl commented on SOLR-7047:
-----------------------------------
Tested again with 5.0.0-RC1-rev1654615
{noformat}
Z:\Desktop\solr (5)\bin>solr start -f
Using Java: C:\Program Files\Java\jre1.8.0_25\bin\java
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
\server was unexpected at this time.
{noformat}
The offending line is solr.cmd line 542 (trunk 557)
{code}
IF "%SOLR_SERVER_DIR%"=="" set SOLR_SERVER_DIR=%DEFAULT_SERVER_DIR%
{code}
Simpy quoting the set argument does not seem to help here
> solr.cmd fails if Solr installation path contains parenthesis
> -------------------------------------------------------------
>
> Key: SOLR-7047
> URL: https://issues.apache.org/jira/browse/SOLR-7047
> Project: Solr
> Issue Type: Bug
> Components: scripts and tools
> Affects Versions: 5.0
> Environment: Windows with 32 bit Windows
> Reporter: Jan Høydahl
> Fix For: 5.1
>
>
> Steps to reproduce
> {code}
> jar xvf solr-5.0.0.zip
> rename solr-5.0.0 "solr (5)"
> cd "solr (5)\bin"
> solr.cmd start
> {code}
> The script fails when trying to assign an environment variable using
> {{SOLR_TIP}}, which contains parens.
> This is more or less the same root issue as SOLR-6693 where the issue is that
> {{SOLR_HOME}} contains parens in case of 32 bit Windows, i.e. {{C:\Program
> Files (x86)}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]