I'm setupping my Mac laptop. I'm a new user on Mac. I installed Eclipse , JDK 10 and tomcat 9. When I try to start tomcat in eclipse this errors are throwing
-Djava.endorsed.dirs=/Users/../software/apache-tomcat-9.0.8/endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
I defined java_home in .bash_profile but nothing is changed. I checked which version of java tomcat support. I saw tomcat 9 support Java 8 and above. So Why I get this errors? In my linux laptop Tomcat 9 runs without a problem with java 8 Can anyone help me to solve this problem?