Installing Java for use with Eclipse
- Eclipse needs at least a Java Runtime Engine (JRE) to function.
Ensure that a Java Runtime Environment (JRE) version 1.7 or higher is installed. This can be done with the command:
An IBM, Sun, or equivalent JRE is required; The gcj-based Java shipped with most Linux distributions does not work with Eclipse. If in doubt, run the above command and check if there is a reference to gcj. If you are using the Linux operating system, download and install either the Sun Java Runtime Environment or the IBM Java Runtime Environment.
OpenJDK has not been tested extensively but it should work.
- We have at least one report that Eclipse 3.7 (the previous 2011 version of Eclipse, a.k.a. Indigo) works with OpenJDK 1.6.0_22 successfully