The Maven Integration requires that Eclipse be running in jdk
Tech-Today

The Maven Integration requires that Eclipse be running in jdk


"The Maven Integration requires that Eclipse be running in 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 vefify that Installed JREs are also using JDK installs".

If you happento encounter the error above, simply go to your eclipse installation. Open eclipse.ini and add the following line:

-vm
C:/YOUR_JDK_INSTALLATION_DIR/bin/javaw.exe

Take note the value is in the newline, if you will notice eclipse.ini accepts parameter on the second line. See the rest of the ini. Mine is:
-vm
C:/jdk1.5.0_22/bin/javaw.exe
-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
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m




- How To Install Eclipse Plugin Using Available Sites And Eclipse Marketplace
This tutorial will teach us how to install eclipse plugins such as svn, egit, etc using available sites and eclipse marketplace. Note that I've done this on windows using eclipse-jee-juno. Installing eclipse plugins using available sites: 1.) To install...

- How To Check Out A Maven Project In Eclipse-juno
This writeup will show you how easy it is to install the correct plugins to be able to checkout a maven in eclipse-juno. The problem one would commonly face is that the subversive plugin is missing in this eclipse version. In the previous version of eclipse...

- Useful Tools When Building A J2ee Project
Below are the tools I commonly use when setting up my eclipse and before creating a new project. JBoss Tools - http://download.jboss.org/jbosstools/updates/nightly/trunk/ TestNG - http://beust.com/eclipse FindBugs - http://findbugs.cs.umd.edu/eclipse/...

- Eclipse: !message Missing Required Bundle Org.eclipse.ui.forms_3.4.1
What I want to do: To add a reference to the ui.forms plugin so that I can use the eclipse-rcp's FormToolkit object. Problem: I have encountered this problem and spent more than an hour finding a solution so I think it's better to share what I've...

- Menu Contribution Location In Eclipse-rcp
There are 3 main location where a menu can be added (Menu Codes): 1.) menu - menu:org.eclipse.ui.main.menu 2.) toolbar - toolbar:org.eclipse.ui.main.toolbar 3.) popup - popup:org.eclipse.ui.popup.any To add a menu: 1.) open plugin.xml 2.) go to extension...



Tech-Today








.