I recently installed eclipse oxygen for jee. Using java10 . Installed tomcat 9.0. The tomcat service is configured at ports 8005,8080,8009 (localhost:8080 works fine).
Created an internal instance of tomcat in eclipse and tried to start server. Got error "8080,8005,8009 already in use".
Reconfigured ports for internal tomcat instance to different ports in "server.xml" of instance. Port conflict error taken care of but now I get "cannot create JVM" error.
Looked for answers on various forums (including here) which suggested to do variations in eclipse.ini.
In eclipse.ini , the required version is Java 1.8 . Set the Java home and path to 1.8 (I already had it installed). Java 1.8 up and working (Java -version).
Edited file eclipse.ini to add "-vm c:/jdk1.8/bin/javaw". Also edited "-xmx1024" to "-xmx512" (forum Soln). Eclipse support says never to delete eclipse.ini file as suggested by a few on forums as a solution.
The error still persists. Any more suggestions?