Could not create Java virtual machine and it says that endorsed is not supported

Viewed 4579

-Djava.endorsed.dirs=C:\Apache\apache-tomcat-9.0.37\endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules.

1 Answers

I just had the same problem. To resolve it, just remove the line "-Djava.endorsed.dirs=C:..." from the Tomcat9 Properties in "Java Options" under Java Tab then restart tomcat Remove the -Djava.endorsed line

Steps to fix it follows:

-Open Tomcat9.exe from the tomcat lib folder
-From the Tomcat9 Properties screen, select the Java Tab
-Remove the line "-Djava.endorsed.dirs=..." then
-Select the General Tab and click on the Start button to Restart Tomcat 
Related