SOLR-7748: Fix script to work when %JAVA% has spaces

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692317 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shai Erera 2015-07-22 18:45:21 +00:00
parent d50f1e3703
commit 54be6a3be9
1 changed files with 1 additions and 1 deletions

View File

@ -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%" == "" (