Jump to: navigation, search

Difference between revisions of "Eclipse/Installation"

Line 1: Line 1:
Installing Eclipse is relatively easy.  
+
Installing Eclipse is relatively easy, but does involve a few steps and software from at least two different sources. Eclipse is a Java-based application as--as such--requires a Java runtime environment (JRE) to run.
  
 
== Install a JVM ==
 
== Install a JVM ==
  
* Regardless of your operating system, you will need to install some Java virtual machine.
+
Regardless of your operating system, you will need to install some Java virtual machine (JVM). You may either install a Java Runtime Environment (JRE), or a Java Development Kit (JDK), depending on what you want to do with Eclipse. If you intend to use Eclipse, then you should install a JDK (the JDK includes--among other useful things--the source code for the standard Java libraries). If you aren't planning to use Eclipse for Java development and want to save some disk space, install a JRE.
:* If using Windows, you may already have one installed, but upgrading won't hurt.
+
:* If using Linux, [[IRC_FAQ#I_just_installed_Eclipse_on_Linux.2C_but_it_does_not_start._What_is_the_problem.3F | read this]] -- GCJ will '''NOT''' work. Also see: [http://www.64bitjungle.com/ubuntu/install-java-jre-160-update-x-on-hardy-as-the-default-java-runtime Installing JRE 1.6.0 (Update x) as the Default Runtime in Linux].
+
* Consider an [http://www.ibm.com/developerworks/java/jdk/index.html IBM JDK] or a [http://java.sun.com/javase/downloads/index.jsp Sun JDK]. See below for minimum requirements.
+
  
== Eclipse 3.5 / Galileo , 3.6 / Helios ==
+
* If you're using Windows, you may already have a JRE installed, but upgrading won't hurt.
=== Additional plugins ===
+
* If using Linux, [[IRC_FAQ#I_just_installed_Eclipse_on_Linux.2C_but_it_does_not_start._What_is_the_problem.3F | read this]]
Go to Help, Install New Software...
+
** GCJ will '''NOT''' work.
 +
** Also see: [http://www.64bitjungle.com/ubuntu/install-java-jre-160-update-x-on-hardy-as-the-default-java-runtime Installing JRE 1.6.0 (Update x) as the Default Runtime in Linux].
  
== Eclipse 3.3 / Europa ==
+
Consider an [http://www.ibm.com/developerworks/java/jdk/index.html IBM JDK] or a [http://java.sun.com/javase/downloads/index.jsp Oracle JDK]. See below for minimum requirements.
  
* [[#Install a JVM | Install a JDK or JRE]] -- minimum required level is 1.4.2 for basic functionality, but some plugins require 5.0/1.5; for example [http://www.eclipse.org/mylyn Mylyn] and various [http://www.eclipse.org/webtools/ WTP] plugins. If you downloaded and installed the [http://www.eclipse.org/downloads/moreinfo/jee.php Java EE Developer package], you will definitely need Java 5 or JDK 1.5 to run it.
+
== Eclipse 3.7.1 (Indigo) ==
  
* Get Eclipse:
+
Eclipse 3.7 (Indigo) was released in June 2011.
:* If installing on Linux, you '''''can''''' look for a package from your distro maintainter/repositories, but ''this is not supported by eclipse.org.'' If you encounter problems with such a bundle, please contact your distro maintainer.
+
:* Otherwise, download an [http://download.eclipse.org/eclipse/downloads/ Eclipse SDK or Runtime Binary] or a [http://www.eclipse.org/europa Europa Bundle], then unpack it and [[IRC_FAQ#How_do_I_start_Eclipse.3F | start it up]].  
+
  
=== Additional Plugins===
+
A Java 6 JRE/JDK is recommended for Eclipse 3.7.1. More information concerning tested configurations for Eclipse 3.7.1 is provided [http://www.eclipse.org/projects/project-plan.php?planurl=/eclipse/development/plans/eclipse_project_plan_3_7.xml#target_environments here].
  
To add other plugins, here's the general process.
+
Download Eclipse from the [http://www.eclipse.org/downloads Eclipse Downloads Page].
  
* Start [[IRC_FAQ#What_is_the_Update_Manager.3F | Update Manager]].
+
The download will be delivered as a compressed (i.e. a ".zip", or ".tar.gz") file. Decompress this file into the directory of your choice (e.g. "c:\Program Files\Eclipse Indigo" on Windows). You can optionally create a shortcut of the executable file ("eclipse.exe" on Windows, or "eclipse" on Linux).
{{codeblock|
+
Help > Software Updates > Find and Install... >
+
  (*) Search for new features > Next >
+
  [x] Europa Discovery Site >
+
  New Remote Site > ''[[IRC_FAQ#Where_can_I_get_project_XYZ.3F|add a new site]]'' >
+
  Finish
+
}}
+
  
* Expand the Europa Discovery site to resolve dependencies. '''Collapsed sites will not be searched.'''
+
Note that there is a known problem with the built-in decompression utility on all current versions of Windows. We recommend that you use a more robust decompression utility such as the open source [http://www.7-zip.org/ 7zip] when decompressing an Eclipse download.
  
* Select the feature(s) you want to install.
+
==Extending Eclipse==
  
* Click the '''Select Required''' button to resolve missing dependencies.  
+
Use the ''Help > Install new software...'' menu option to add Indigo features to your Eclipse installation (you can, for example, use this option to add C/C++ development support). Additionally, you can tap into a vast collection of extensions provided by the Eclipse community and ecosystem via the '''Eclipse Marketplace Client''' (''Help > Eclipse Marketplace'')
  
* Install. Restart. Enjoy.
+
==More information==
 
+
== Eclipse 3.2 / Callisto ==
+
 
+
* [[#Install a JVM | Install a JDK or JRE]] -- minimum required level is 1.4.2.
+
 
+
* Get Eclipse:
+
:* If installing on Linux, you '''''can''''' look for a package from your distro maintainter/repositories, but ''this is not supported by eclipse.org.'' If you encounter problems with such a bundle, please contact your distro maintainer.
+
:* Otherwise, download an [http://download.eclipse.org/eclipse/downloads/ Eclipse SDK or Runtime Binary], then unpack it and [[IRC_FAQ#How_do_I_start_Eclipse.3F | start it up]].
+
 
+
=== Additional Plugins===
+
 
+
To add other plugins, here's the general process.
+
 
+
* Start [[IRC_FAQ#What_is_the_Update_Manager.3F | Update Manager]].
+
{{codeblock|
+
Help > Software Updates > Find and Install... >
+
  (*) Search for new features > Next >
+
  New Remote Site > ''add the new site: http://download.eclipse.org/callisto/releases/'' >
+
  New Remote Site > ''[[IRC_FAQ#Where_can_I_get_project_XYZ.3F|add a new site]]'' >
+
  Finish
+
}}
+
 
+
* Select the projects &/or components you want to install.
+
 
+
* Expand the Callisto Updates site to resolve dependencies. '''Collapsed sites will not be searched.'''
+
 
+
* Select the feature(s) you want to install.
+
 
+
* Click the '''Select Required''' button to resolve missing dependencies.
+
:* If it does not work, you will have to manually select dependencies.
+
::* If '''that''' doesn't work, start over, but add more update sites. Can't find a given dependency? Try [[IRC_FAQ#Where_can_I_get_a_list_of_all_the_Eclipse_projects.3F | here]] or [[IRC_FAQ#Where_can_I_get_project_XYZ.3F | here]].
+
 
+
* Install. Restart. Enjoy.
+
  
 +
* [[FAQ Where do I get and install Eclipse?|Where do I get and install Eclipse?]]
 +
* [[Eclipse/Installation/Older Versions| Installation instructions for older versions of Eclipse]]
  
 
[[Category:FAQ]]
 
[[Category:FAQ]]

Revision as of 11:40, 6 February 2012

Installing Eclipse is relatively easy, but does involve a few steps and software from at least two different sources. Eclipse is a Java-based application as--as such--requires a Java runtime environment (JRE) to run.

Install a JVM

Regardless of your operating system, you will need to install some Java virtual machine (JVM). You may either install a Java Runtime Environment (JRE), or a Java Development Kit (JDK), depending on what you want to do with Eclipse. If you intend to use Eclipse, then you should install a JDK (the JDK includes--among other useful things--the source code for the standard Java libraries). If you aren't planning to use Eclipse for Java development and want to save some disk space, install a JRE.

Consider an IBM JDK or a Oracle JDK. See below for minimum requirements.

Eclipse 3.7.1 (Indigo)

Eclipse 3.7 (Indigo) was released in June 2011.

A Java 6 JRE/JDK is recommended for Eclipse 3.7.1. More information concerning tested configurations for Eclipse 3.7.1 is provided here.

Download Eclipse from the Eclipse Downloads Page.

The download will be delivered as a compressed (i.e. a ".zip", or ".tar.gz") file. Decompress this file into the directory of your choice (e.g. "c:\Program Files\Eclipse Indigo" on Windows). You can optionally create a shortcut of the executable file ("eclipse.exe" on Windows, or "eclipse" on Linux).

Note that there is a known problem with the built-in decompression utility on all current versions of Windows. We recommend that you use a more robust decompression utility such as the open source 7zip when decompressing an Eclipse download.

Extending Eclipse

Use the Help > Install new software... menu option to add Indigo features to your Eclipse installation (you can, for example, use this option to add C/C++ development support). Additionally, you can tap into a vast collection of extensions provided by the Eclipse community and ecosystem via the Eclipse Marketplace Client (Help > Eclipse Marketplace)

More information