EclipseIDE

Differences between revisions 1 and 2
Revision 1 as of 2005-05-28 20:50:56
Size: 3350
Editor: adsl-213-190-44-43
Comment: imported from the old wiki
Revision 2 as of 2005-06-15 10:27:04
Size: 3760
Editor: adsl-213-190-44-43
Comment: imported from the old wiki
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

== Eclipse in Breezy ==

Eclipse 3.0.1 has been uploaded to Breezy. Finally. You should be able to simply apt-get install it.

Actually these breezy packages should build fine for Hoary too. You can probably just apt-get source them and let it rip.

The Help system has been disabled completely because we don't yet have a free Tomcat. Working on that. Enjoy.

{{{
apt-get install eclipse-jdt
}}}

EclipseIDE

Eclipse in Breezy

Eclipse 3.0.1 has been uploaded to Breezy. Finally. You should be able to simply apt-get install it.

Actually these breezy packages should build fine for Hoary too. You can probably just apt-get source them and let it rip.

The Help system has been disabled completely because we don't yet have a free Tomcat. Working on that. Enjoy.

apt-get install eclipse-jdt

Eclipse download

Go to the [http://www.eclipse.org/downloads/index.php nearest eclipse mirror] and download eclipse-platform-3.0.2-linux-gtk.zip. If you want to code in Java, you can download eclipse-SDK-3.0.2-linux-gtk.zip instead or install it afterwards.

Eclipse installation

Global installation

Use this method if you want Eclipse available for all users, or if you are the only user of the computer.

Eclipse

  • Unzip eclipse in /opt:

$ sudo unzip eclipse-SDK-3.0.2-linux-gtk.zip -d /opt
  • Change the owner to root:

$ sudo chown -R root:root /opt/eclipse/
  • Create /usr/bin/eclipse with your favorite text editor (e.g sudo vi /usr/bin/eclipse) and add the following content:

export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"
export ECLIPSE_HOME="/opt/eclipse"

$ECLIPSE_HOME/eclipse $*
  • Finally, allow the script to be executed:

$ sudo chmod +x /usr/bin/eclipse

Gnome icon

  • Create a new launcher on the desktop (right click on the desktop -> Create Launcher) or on a panel (right click on a panel -> Add to Panel -> Custom Application Launcher) and add the following data:

    • Name: Eclipse Platform

    • Command: eclipse

    • Icon: /opt/eclipse/icon.xpm

If you want an icon in the Applications Menu:

  • Create a new launcher called eclipse.desktop in /usr/share/applications with your favorite text editor (e.g sudo vi /usr/share/applications/eclipse.desktop) and add the following content:

[Desktop Entry]
Encoding=UTF-8
Name=Eclipse Platform
Comment=Eclipse IDE
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true

User installation

Use this method if you want Eclipse available only for yourself, or if you haven't root access to the computer.

Eclipse

  • Make a personnal opt folder in your home directory:

$ mkdir ~/opt
  • Unzip eclipse in the opt folder:

$ unzip eclipse-platform-3.0.2-linux-gtk.zip -d ~/opt
  • Make a bin folder in your home directory, this will be used for the startup script:

$ mkdir ~/bin
  • Create ~/bin/eclipse with your favorite text editor (e.g vi ~/bin/eclipse) and add the following content:

export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"
export ECLIPSE_HOME="$HOME/opt/eclipse"

$ECLIPSE_HOME/eclipse $*
  • Finally, allow the script to be executed:

$ chmod +x ~/bin/eclipse

Gnome icon

  • Create a new launcher on the desktop (right click on the desktop -> Create Launcher) or on a panel (right click on a panel -> Add to Panel -> Custom Application Launcher)

    • Name: Eclipse Platform

    • Command: /home/<your username>/bin/eclipse

    • Icon: /home/<your username>/opt/eclipse/icon.xpm

From AndrewGoodnough Sun Apr 17 15:08:05 +0100 2005 From: Andrew Goodnough Date: Sun, 17 Apr 2005 15:08:05 +0100 Subject: Mozilla reference in shell script? Message-ID: <20050417150805+0100@https://www.ubuntulinux.org>

Why is it necessary to add the variable for MOZILLA_FIVE_HOME? Is this so eclipse can use Firefox as its internal browser?

EclipseIDE (last edited 2008-08-06 16:18:49 by localhost)