I've got a lil problem

Discussion in 'Plugin Development' started by n0way, Feb 9, 2011.

Thread Status:
Not open for further replies.
  1. Hello everybody,

    I begun to set up eclipse, to begin programming, and everything was ok until this problem that's stuck me.

    This error :
    Code:
    09/02/11 22:23:39 CET: Eclipse is running in a JRE, but a JDK is required
      Some Maven plugins may not work when importing projects or updating source folders.
    You'll certainly ask me if i put the -vm options into the eclipse ini file ... and yes I did.

    My eclipse.ini
    Code:
    -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.java.product
    --launcher.defaultAction
    openFile
    --launcher.XXMaxPermSize
    256M
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    256m
    --launcher.defaultAction
    openFile
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -Xms40m
    -Xmx384m
    -vm C:\Program Files\Java\jdk1.6.0_23\bin\javaw.exe
    I hope someone will be able to help me, i think just for fun my first plugin will be an /unstuck command :p

    n0way
    P.S : i'm sorry if i did some english mistake.
    --- merged: Feb 10, 2011 7:16 AM ---
    I found the problem, I changed my eclipse.ini by that :

    Code:
     -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.java.product
    --launcher.defaultAction
    openFile
    --launcher.XXMaxPermSize
    256M
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    256m
    -vm
    C:\Progra~1\Java\jdk1.6.0_23\jre\bin\javaw.exe
    --launcher.defaultAction
    openFile
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -Xms40m
    -Xmx384m
    
     
Thread Status:
Not open for further replies.

Share This Page