Bug 61526

Summary: '#' is not recognized as an internal or external command,operable program or batch file.
Product: Tomcat 9 Reporter: jambo.wang
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: P2    
Version: 9.0.0.M26   
Target Milestone: -----   
Hardware: PC   
OS: All   

Description jambo.wang 2017-09-16 00:08:00 UTC
Startup.bat give an error message as below:
'#' is not recognized as an internal or external command,operable program or batch file.

Read the codes and found the problem caused by line 218 in catalina.bat:
    # Configure JAVA 9 specific start-up parameters

This line suppose to be a comment line, change the "#" to "rem" then the error message disappear.
Comment 1 Igal Sapir 2017-09-16 00:24:16 UTC
This has already been fixed at https://github.com/apache/tomcat/commit/3fed0a2
Comment 2 Chuck Caldarale 2017-09-16 01:17:31 UTC

*** This bug has been marked as a duplicate of bug 61419 ***