Note that there are some explanatory texts on larger screens.

plurals
  1. POm2eclipse: Eclipse is running in a JRE, but a JDK is required
    primarykey
    data
    text
    <p>I have a problem with m2eclipse (0.10.0) together with eclipse galileo (Build id: 20090920-1017).</p> <p>I always get the error message:"Eclipse is running in a JRE, but a JDK is required". I have tried several things, but nothing works. The error message is still there. Here are the things I have tried:</p> <ul> <li><p>In Window>Preferences>Java>Installed JREs I checked JDK1.6.0_20. DOES NOT WORK</p></li> <li><p>In Window>Preferences>Java>Installed JREs I removed all JREs. Only the checked JDK1.6.0_20 is still there. DOES NOT WORK</p></li> <li><p>In Window>Preferences>Java>Installed JREs>Execution Environments I choosed JavaSE-1.6 and checked JDK1.6.0_20[perfect match]. DOES NOT WORK.</p></li> <li><p>In Preferences of the eclipse desktop start icon I added the -vm parameter (C:\Programme\eclipse_galileo\eclipse\eclipse.exe -vm C:\Programme\Java\jdk1.6.0_20\bin). DOES NOT WORK.</p></li> <li><p>I added the clean parameter (C:\Programme\eclipse_galileo\eclipse\eclipse.exe -vm C:\Programme\Java\jdk1.6.0_20\bin -clean). DOES NOT WORK.</p></li> <li><p>I added the -vm parameter to the eclipse.ini file with a carriage return after -vm and C:/Programme/Java/jdk1.6.0_20/bin/javaw.exe in a new line. DOES NOT WORK.</p></li> <li><p>After doing all these things I removed the m2eclipse plugin and installed it once again. DOES NOT WORK.</p></li> </ul> <p>New ideas I have tried:</p> <ul> <li><p>In Preferences of the eclipse desktop start icon I put the executable at the end (C:\Programme\eclipse_galileo\eclipse\eclipse.exe -vm C:\Programme\Java\jdk1.6.0_20\bin\javaw.exe). DOES NOT WORK.</p></li> <li><p>I changed in eclipse.ini the slashes to backslashes. DOES NOT WORK.</p></li> </ul> <p>Here is my eclipse.ini file:</p> <pre><code>-startup plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519 -product org.eclipse.epp.package.jee.product --launcher.XXMaxPermSize 256M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m -vm C:\Programme\Java\jdk1.6.0_20\bin\javaw.exe -vmargs -Dosgi.requiredJavaVersion=1.5 -Xms40m -Xmx512m </code></pre> <p>Is anyone out there who have other ideas? Any help is appreciated.</p> <p>Thank You very much. GernoK</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload