PasunuriSrinidhi commented on PR #600: URL: https://github.com/apache/tomcat/pull/600#issuecomment-1484093801
if not "%JAVA_HOME%" == "" ( set "JAVA="%JAVA_HOME%\bin\java.exe"" ) else ( echo The JAVA_HOME environment variable is not defined correctly. echo JAVA_HOME="%JAVA_HOME%" ) This way, if JAVA_HOME is not defined, the user will see a clear message stating that the variable is not defined correctly, and the value of the variable (which will be empty in this case) will be echoed back for reference. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org