Friday 5 November 2010

maven eclipse error - Eclipse is running in a JRE, but a JDK is required

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vm
C:\Work\Sun\SDK\jdk\jre\bin\client\jvm.dll
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms128m
-Xmx1200m
-Dsun.lang.ClassLoader.allowArraySyntax=true

2 comments:

  1. If you still get the error, In Window>Preferences>Installed JREs>Add
    jdk point to C:\Work\Sun\SDK\jdk

    ReplyDelete
  2. If you have jre installed then uninstall it and have only jdk.

    ReplyDelete