The Eclipse IDE (Integrated Development Environment) provides a platform for developing Java applications. You can also use other Java IDEs such as IntelliJ IDEA.
To run Eclipse your machine requires Java. Both JRE (Java Runtime Environment) and JDK (Java Development Kit) are capable to run Eclipse. But since you anyway will require a JDK in its proper version to develop a Magnolia project, we recommend to make sure to have your JDK before installing Eclipse. (See Java Development Kit.)
The following step-by-step procedure is assuming that you are working on a WINDOWS machine. Anyway, the installation procedure on Linux or OS-X is very similar.
- Go to Eclipse Downloads, select the package Eclipse IDE for Java EE Developers and download a 32-bit or 64-bit -version according to your machine.
- Extract the ZIP file on your computer. This procedure assumes the file is extracted to
- Double-click the Eclipse application executable. Tip: Create a shortcut to the application.
- Select a workspace directory to store your projects.
- Click OK.
Eclipse offers a bunch of pluging to make your life easier. Depending on the version you are installing, Eclispe is already bundled with more or less plugins.
If you are using an older version of Eclipse, you may require the following:
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:
eclipse.iniin a text editor.
- Add the following line where
JDKlocationis the location of
javaw.exein the JDK:
- Save the file.