Eclipse IDE

From HotDec

Jump to: navigation, search

Contents

About Eclipse

Eclipse is a modular open-sourced IDE written by IBM. It is written in Java and is mainly used for java developement, but there is a plugin (CDT) for C/C++. There is also a plugin for Subversion (Subclipse) that gives SVN a very easy-to-use frontend. Eclipse seems to be an ideal IDE for the lab, and I will be trying it out in the coming weeks.

Linux distributions seem to try to run Eclipse on top of GCJ (the GNU implmentation of Java), but GCJ is still in developement and buggy. It is best to install the Sun Java virtual machine and run Eclipse with that instead. This means that you will always need to use the "-vm" arguement, so you may want to use the Eclipse script example.


Installing Eclipse on Windows

  1. Install MinGW and make sure it is on your path.
  2. Download Eclipse from http://www.eclipse.org/downloads/ and unpack to the Program Files folder. You're done.

You might need the Java VM from: http://java.sun.com/j2se/1.4.2/download.html (select JRE)

Installing Eclipse on Fedora

su
yum install eclipse-platform
http://www.java.com/en/download/manual.jsp
sh jre-1_5_0_06-linux-i586-rpm.bin
rpm -ivh jre-1_5_0_06-linux-i586.rpm
eclipse -vm /usr/java/jre1.5.0_06/bin/java


Installing Eclipse on Debian / Ubuntu

sudo apt-get install g++
sudo apt-get install make
sudo apt-get install eclipse-platform
sudo apt-get install j2re1.4
eclipse -vm /usr/lib/j2se/1.4/jre/

Installing the Subversion and C/C++ Eclipse modules

(you will probably need to do this as root)

Help -> Software Updates -> Find and Install
Search for new features to unstall
New Remote Site...
CDT: http://download.eclipse.org/tools/cdt/releases/eclipse3.1
Subclipse: http://subclipse.tigris.org/update_1.0.x
Install All
Personal tools