I am trying to increase tomcat memory by adding JAVA_OPTS to catalina.bat as follows:
rem TITLE (Optional) Specify the title of Tomcat window. The default rem TITLE is Tomcat if it not specified. rem Example (all one line) rem set TITLE=Tomcat.Cluster
but I get the following errors in CMD when running startup or shutdown scripts:
'JAVA_OPTS' is not recognized as an internal or external command, operable program or batch file. '-server' is not recognized as an internal or external command, operable program or batch file. The filename, directory name, or volume label syntax is incorrect. The filename, directory name, or volume label syntax is incorrect. The filename, directory name, or volume label syntax is incorrect. The filename, directory name, or volume label syntax is incorrect. The filename, directory name, or volume label syntax is incorrect.
please let me know why I receive them.
source share