Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "PTP/installjava"

< PTP
(Installing Java for use with Eclipse)
(Installing Java for use with Eclipse)
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
* Eclipse needs at least a Java Runtime Engine (JRE) to function.
 
* Eclipse needs at least a Java Runtime Engine (JRE) to function.
 
** You need the Sun or IBM versions of Java (not Linux's GCJ)
 
** You need the Sun or IBM versions of Java (not Linux's GCJ)
** Java 1.5 or higher is needed.  (Note that "Java 1.5" is the same as "JRE 5.0")
+
** Java 1.6 or higher is needed.  (Note that "Java 1.6" is the same as "JRE 6.0")
 
** See [http://wiki.eclipse.org/FAQ_Where_do_I_get_and_install_Eclipse%3F Eclipse installation FAQ] under "Installing Java" for more information.   
 
** See [http://wiki.eclipse.org/FAQ_Where_do_I_get_and_install_Eclipse%3F Eclipse installation FAQ] under "Installing Java" for more information.   
** Quick link: [http://www.oracle.com/technetwork/java/javase/downloads/index-jdk5-jsp-142662.html JRE 5.0] will probably work fine.
+
** Quick link: [http://www.oracle.com/technetwork/java/javase/downloads/jre6-downloads-1637595.html JRE 6.0] will probably work fine.
  
  
  
Ensure that a Java Runtime Environment (JRE) version 1.5 or higher is installed. This can be done with the command:
+
Ensure that a Java Runtime Environment (JRE) version 1.6 or higher is installed. This can be done with the command:
  
 
     java -version
 
     java -version
Line 15: Line 15:
  
 
OpenJDK has not been tested extensively but it ''should'' work.
 
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

Revision as of 13:54, 19 June 2012

Installing Java for use with Eclipse

  • Eclipse needs at least a Java Runtime Engine (JRE) to function.
    • You need the Sun or IBM versions of Java (not Linux's GCJ)
    • Java 1.6 or higher is needed. (Note that "Java 1.6" is the same as "JRE 6.0")
    • See Eclipse installation FAQ under "Installing Java" for more information.
    • Quick link: JRE 6.0 will probably work fine.


Ensure that a Java Runtime Environment (JRE) version 1.6 or higher is installed. This can be done with the command:

   java -version

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

Back to the top