[Resolvido] The Maven Integration requires that eclipse be running in a JDK

1 resposta
W

The Maven Integration requires that Eclipse be running in a JDK, because a number of Maven core plugins are using jars from the JDK.
Please make sure the -vm option in eclipse.ini is pointing to a JDK and verify that Instaled JREs are also using JDK Installs.

Este problema ocorreu comigo em ambiente Windows e resolvi editando o arquivo eclipse.ini

Apenas adicionei as seguintes linhas :

-vm
C:\Soft\Java\jdk1.6.0_20\bin\javaw.exe

Adicionei logo abaixo de 256m

Segue abaixo todo o meu arquivo eclipse.ini ele é original somente com as 2 linhas adicionadas

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
–launcher.defaultAction
openFile
–launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
256m
-vm
C:\Soft\Java\jdk1.6.0_20\bin\javaw.exe
–launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

Fonte: http://wiki.eclipse.org/Eclipse.ini

1 Resposta

D

Funcionou perfeitamente.

valeuuu

Criado 16 de julho de 2010
Ultima resposta 27 de jul. de 2010
Respostas 1
Participantes 2