Skip to content

Commit

Permalink
fix: removed unnecessary 2>&1
Browse files Browse the repository at this point in the history
  • Loading branch information
jessesimpson36 committed Jul 30, 2024
1 parent 95e0470 commit 728ce78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c8run/c8run_cgpt_version.bat
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if "%1"=="start" (
)
)

for /f "tokens=2 delims==" %%i in ('%JAVA% -version 2>&1') do set JAVA_VERSION=%%i
for /f "tokens=2 delims==" %%i in ('%JAVA% -version') do set JAVA_VERSION=%%i
echo Java version is %JAVA_VERSION%
if "%JAVA_VERSION%" lss "%EXPECTED_JAVA_VERSION%" (
echo You must use at least JDK %EXPECTED_JAVA_VERSION% to start Camunda Platform Run.
Expand Down

0 comments on commit 728ce78

Please sign in to comment.