[pt_BR] Eclipse running in a JDK
Localize o arquivo eclipse.ini na raiz da instalação do Eclipse e adicione o parâmetro -vm no início deste arquivo.
Exemplo:
-vm <path-to-jdk>/bin
--launcher.library
plugins/org.eclipse.equinox.launcher...
-startup
plugins/org.eclipse.equinox.launcher...
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512mAlguns plugins como o m2eclipse necessitam que o Eclipse execute utilizando a JDK e não a JRE:
The Maven Integration requires that Eclipse be running in a JDK, beacuase a number of Maven core plugins are using jars from the JDK.
Please make sure the -vm options in eclipse.ini is pointing to a JDK and verify that Installed JREs are also using JDK installs.
Github