Search code examples
javaeclipsetomcattomcat8

Tomcat error on eclipse


When I try to start tomcatv8 server on Eclipse I get this error:

<b>Error: Could not create the Java Virtual Machine. </b><br>
<b>Error: A fatal exception has occurred. Program will exit.</b><br>
-Djava.endorsed.dirs=/usr/share/tomcat/endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules.

Any ideas of what's happening? by the way I am using Linux Fedora.


Solution

  • It's a bug when you run Eclipse+Tomcat on Java 9:

    https://bugs.eclipse.org/bugs/show_bug.cgi?id=507338

    It was fixed in Java 9 but it reappeared in the Java 10.