You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2014/11/03 21:21:33 UTC
[jira] [Created] (SOLR-6693) Start script for windows fails with
32bit JRE
Jan Høydahl created SOLR-6693:
---------------------------------
Summary: Start script for windows fails with 32bit JRE
Key: SOLR-6693
URL: https://issues.apache.org/jira/browse/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
*Reproduce:*
# Install JRE8 from www.java.com (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.}}
*Reason*
This comes from bad quoting of the {{%SOLR%}} variable. I think it's because of the parenthesis that it freaks out.
*Solution*
Quoting the lines where %JAVA% is printed, e.g. instead of
{noformat}
@echo Using Java: %JAVA%
{noformat}
then use
{noformat}
@echo "Using Java: %JAVA%"
{noformat}
This is needed several places.
--
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