aboutsummaryrefslogtreecommitdiffstats
path: root/find_java
diff options
context:
space:
mode:
Diffstat (limited to 'find_java')
-rwxr-xr-xfind_java/find_java.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/find_java/find_java.bat b/find_java/find_java.bat
index b1b7dd1..b0bb165 100755
--- a/find_java/find_java.bat
+++ b/find_java/find_java.bat
@@ -24,7 +24,7 @@ rem http://technet.microsoft.com/en-us/library/bb490890.aspx
rem Query whether this system is 32-bit or 64-bit
rem See also: http://stackoverflow.com/a/24590583/1299302
reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" |^
-find /i "x86" > NUL && set arch_ext=32 || set arch_ext=64
+find /i "x86" > NUL && set arch_ext=32|| set arch_ext=64
rem Check we have a valid Java.exe in the path. The return code will
rem be 0 if the command worked or 1 if the exec failed (program not found).