The Eclipse IDE (Integrated Development Environment) provides a platform for developing Java applications. You can also use other Java IDEs such as IntelliJ IDEA.

Installing Eclipse

To install Eclipse:

  1. Go to Eclipse Downloads, select the package Eclipse IDE for Java EE Developers and download a 32-bit version. 64-bit software has installation issues.
  2. Extract the ZIP file on your computer. This procedure assumes the file is extracted to C:\Program Files\Eclipse.
  3. Double-click the Eclipse application executable. Tip: Create a shortcut to the application.
  4. Select a workspace directory to store your projects.
  5. Click OK.

Plug-ins

You need the Egit plugin to get Magnolia source code in Eclipse. See the instructions on our wiki.

If you are using an older version of Eclipse, you may require the following:

Troubleshooting

JRE or JDK not found

If either of the following errors occur, you need to modify eclipse.ini in the Eclipse directory.

"A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations."

"The Maven Integration requires that Eclipse be running in a JDK, because a number of Maven core plugins are using JARs from the JDK."

To modify eclipse.ini:

  1. Open eclipse.ini in a text editor.
  2. Add the following line where JDKlocation is the location of javaw.exe in the JDK:
    -vm JDKlocation
  3. Save the file.

Resources

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels