I am trying to move to Java 10.0.2 (OpenJDK due to license).
I am using Eclipse Photon (and tried in Eclipse Oxygen) Trying to use Tomcat v9.0.5 Running in Windows 7
All work fine with OpenJDK 1.8.0.171 But when I switch to OpenJDK 10.0.2 (or OpenJDK 9), I am told:-
Java Virtual Machine Launcher
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
and then:-
Problem Occurred
'Starting Tomcat v9.0 64bit' has encountered a problem.
Server Tomcat v9.0 64bit failed to start
I can start it fine from the command line but not from within Eclipse.
I'm sure I must be missing something but cannot think what.
I've spent what seems like a long time looking for a solution but have found nothing.
Added in response to duffymo - Tomcat log says "-Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\apache-tomcat-9.0.5\endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules."