Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Try this:</p> <p>To install eclipse on ubuntu you need to download it first from <a href="http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a> Extract the downloaded file by right click on it and extract here or running the following:</p> <pre><code>tar xzf dir/eclipse-SDK-3.3.1.1-linux-gtk.tar.gz </code></pre> <p>Where eclipse-SDK-3.3.1.1-linux-gtk is your eclipse-SDK name with version and dir is the directory of eclipse-sdk.</p> <p>Now move it to the root directory. Apply the following command to do this.</p> <pre><code>sudo mv dir/eclipse ~ </code></pre> <p>Now you are ready to configure your eclipse. To do this follow the following step by step...</p> <pre><code>sudo mv eclipse /opt/ </code></pre> <p>Take care of the permissions:</p> <pre><code>sudo chmod -R +r /opt/eclipse sudo chmod +x /opt/eclipse/eclipse </code></pre> <p>Create an executable in your path:</p> <pre><code>sudo touch /usr/bin/eclipse sudo chmod 755 /usr/bin/eclipse sudo gedit /usr/bin/eclipse </code></pre> <p>Copy the following content and save the file:</p> <pre><code>#!/bin/sh export ECLIPSE_HOME="/opt/eclipse" $ECLIPSE_HOME/eclipse $* </code></pre> <p>Let’s also make eclipse executable everywhere by creating a symlink:</p> <pre><code>sudo ln -s /usr/bin/eclipse /bin/eclipse </code></pre> <p>Create the menu icon:</p> <pre><code>sudo gedit /usr/share/applications/eclipse.desktop </code></pre> <p>Type in this content and save:</p> <pre><code>[Desktop Entry] Encoding=UTF-8 Name=Eclipse Comment=Eclipse IDE Exec=eclipse Icon=/opt/eclipse/icon.xpm Terminal=false Type=Application Categories=GNOME;Application;Development; StartupNotify=true </code></pre> <p>Run for the first time:</p> <pre><code>eclipse -clean </code></pre> <p>You can now start Eclipse by simply typing eclipse in the terminal or from the GNOME menu Applications -> Programming -> Eclipse</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload