You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2015/07/22 20:45:22 UTC

svn commit: r1692317 - /lucene/dev/trunk/solr/bin/solr.cmd

Author: shaie
Date: Wed Jul 22 18:45:21 2015
New Revision: 1692317

URL: http://svn.apache.org/r1692317
Log:
SOLR-7748: Fix script to work when %JAVA% has spaces

Modified:
    lucene/dev/trunk/solr/bin/solr.cmd

Modified: lucene/dev/trunk/solr/bin/solr.cmd
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/bin/solr.cmd?rev=1692317&r1=1692316&r2=1692317&view=diff
==============================================================================
--- lucene/dev/trunk/solr/bin/solr.cmd (original)
+++ lucene/dev/trunk/solr/bin/solr.cmd Wed Jul 22 18:45:21 2015
@@ -1424,7 +1424,7 @@ GOTO :eof
 REM Set which JVM vendor we have
 :resolve_java_vendor
 set "JAVA_VENDOR=Oracle"
-%JAVA% -version 2>&1 | findstr /i "IBM J9" > javares
+"%JAVA%" -version 2>&1 | findstr /i "IBM J9" > javares
 set /p JAVA_VENDOR_OUT=<javares
 del javares
 if NOT "%JAVA_VENDOR_OUT%" == "" (