Eclipse: Difference between revisions

From ENIGMA
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 05:25, 31 March 2012

According to Wikipedia, Eclipse is a multi-language software development environment comprising an integrated development environment (IDE) and an extensible plug-in system. It is written mostly in Java and can be used to develop applications in Java and, by means of various plug-ins, other programming languages including Ada, C, C++, COBOL, Perl, PHP, Python, R. Ruby (including Ruby on Rails framework), Scala, Clojure, and Scheme. It can also be used to develop packages for the software Mathematica. The IDE is often called Eclipse ADT (Ada Development Toolkit) for Ada, Eclipse CDT for C/C++, Eclipse JDT for Java, and Eclipse PDT for PHP.

For the purposes of ENIGMA, Eclipse is used almost exclusively for Java. The C++ IDE of choice is Code::Blocks.

Some of our projects which use Eclipse are:

Install

Eclipse can be obtained from the Linux repositories (you can use the Software Center) or its website (e.g. for Windows users). Generally you should ensure that you have the Java JDK installed first.

  • Software Center: search for Eclipse, usually under Developer Tools.
  • apt-get: sudo apt-get install eclipse
  • pacman: pacman -Sy eclipse
  • yum: sudo yum install eclipse
  • Download the binaries: http://www.eclipse.org/downloads (I'd recommend Eclipse IDE for Java Developers).

You may opt for eclipse-ecj instead of eclipse if you only want to use the Eclipse compiler for compiling from command-line.

On first run, Eclipse will ask you for a workspace, or a location for it to store projects. This does not matter; it's completely up to you. The default location is usually sufficient.

Sometimes the repository only offers the Eclipse 3.4 and below (usually with older distro versions), in which case you can download from the website instead. Sometimes the Software Center will not install the Eclipse JDT along with Eclipse, so you may have to install it afterwards.