Merge pull request #112 from thingsboard/bug/TB-51
TB-51: Fix java version check procedure in windows installation script.
This commit is contained in:
commit
ea32b2d29e
@ -2,9 +2,6 @@
|
||||
|
||||
setlocal ENABLEEXTENSIONS
|
||||
|
||||
IF %PROCESSOR_ARCHITECTURE%==AMD64 GOTO CHECK_JAVA_64
|
||||
IF %PROCESSOR_ARCHITECTURE%==x86 GOTO CHECK_JAVA_32
|
||||
|
||||
@ECHO Detecting Java version installed.
|
||||
:CHECK_JAVA_64
|
||||
@ECHO Detecting if it is 64 bit machine
|
||||
@ -36,7 +33,6 @@ if defined ValueName (
|
||||
)
|
||||
|
||||
IF NOT "%JRE_PATH2%" == "" GOTO JAVA_INSTALLED
|
||||
IF "%JRE_PATH2%" == "" GOTO JAVA_NOT_INSTALLED
|
||||
|
||||
:CHECK_JAVA_32
|
||||
@ECHO Detecting if it is 32 bit machine
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user