Skip to content

Commit 7f15077

Browse files
committed
address problem with where command and quoted paths. use javac -version and not javac --version
1 parent 54316dc commit 7f15077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gettingStarted/workshop-scripts/runJmsPutGetInteractive.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ SET ec=###
3131
SET fileExistsMsg=%ec% File exists, skipping.
3232

3333
ECHO %ec% Checking JDK (javac command) is available.
34-
WHERE javac >NUL 2>&1
34+
javac -version >NUL 2>&1
3535
IF %ERRORLEVEL% EQU 0 (ECHO OK.) ELSE (ECHO %ec% Java Compiler not installed! & EXIT /B %ERRORLEVEL%)
3636

3737
ECHO %ec% Making MQClient directory.

0 commit comments

Comments
 (0)