lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <>
Subject [jira] [Created] (SOLR-6693) Start script for windows fails with 32bit JRE
Date Mon, 03 Nov 2014 20:21:33 GMT
Jan Høydahl created SOLR-6693:

             Summary: Start script for windows fails with 32bit JRE
                 Key: SOLR-6693
             Project: Solr
          Issue Type: Bug
          Components: scripts and tools
    Affects Versions: 4.10.2
         Environment: WINDOWS 8.1
            Reporter: Jan Høydahl
             Fix For: 5.0, Trunk

# Install JRE8 from (typically {{C:\Program Files (x86)\Java\jre1.8.0_25}})
# Run the command {{bin\solr start -V}}

The result is:
{{\Java\jre1.8.0_25\bin\java was unexpected at this time.}}

This comes from bad quoting of the {{%SOLR%}} variable. I think it's because of the parenthesis
that it freaks out.

Quoting the lines where %JAVA% is printed, e.g. instead of
  @echo Using Java: %JAVA%
then use
  @echo "Using Java: %JAVA%"

This is needed several places.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message