Pages

Showing posts with label Eclipse. Show all posts
Showing posts with label Eclipse. Show all posts

Sunday, July 20, 2014

How to install Eclipse Luna (4.4) on Ubuntu

Installing Eclipse

  1. Download Eclipse from here;
  2. Extract it. You will end up having a folder named eclipse, copy it;



  3. Press CTRL + ALT + T to open Terminal;
  4. Type the command:
    sudo nautilus
    and then insert your password;



  5. Browse to /opt/ and paste the extracted folder there.


Creating a shortcut

  1. Press CTRL + ALT + T to open Terminal;
  2. Type:
    sudo ln -s /opt/eclipse/eclipse /usr/bin/eclipse
    sudo gedit /usr/share/applications/eclipse.desktop
  3. After these commands, gedit (ubuntu's default text editor) should have opened. Copy this and paste it there:
    [Desktop Entry]
    Name=Eclipse
    Type=Application
    Exec=/opt/eclipse/eclipse
    Terminal=false
    Icon=/opt/eclipse/icon.xpm
    Comment=Integrated Development Environment
    NoDisplay=false
    Categories=Development;IDE;
    Name[en]=Eclipse
    X-Desktop-File-Install-Version=0.22


  4. Save the text file and close gedit;
  5. This should have successfully created a shortcut. You may have to log off and back in for it to show up.


Tuesday, February 11, 2014

How to setup Eclipse for Java development

If you already have Eclipse

If you have some version of eclipse already installed, you can update it and add Java directly.

For that you just have to do this:

  • Find your version URL. My eclipse version is Juno, so the URL I will need is:
  • Open Eclipse and go to Help and choose Install New Software;
  • Paste the URL of your version and wait for the list of softwares available to load;

  • Under "Programming Languages" select "Eclipse Java Development Tools";

  • Press Next and after completing the installation you are done.


If you don't have Eclipse installed

Windows Users

Installing JDK

  • Go to the downloads page;
  • Select Accept License Agreement and download the version according to your system (in my case 64-bit);

  • Install JDK using the setup you just downloaded.

Installing Eclipse

  • Download Eclipse and extract the .zip;
  • You should now have a folder called "eclipse", rename it to "eclipse-java";
  • Copy the folder and paste it to "C:\Program Files" (or "C:\Program Files (x86)" if your system is 32-bit);

  • [Optional] You can now create a shortcut to eclipse. In order to do that, right-click on "eclipse.exe" and select copy. After that go to your desktop, right-click anywhere and click Paste shortcut.

That's it for Windows users!


Ubuntu Users

Installing JDK

  • Ubuntu already comes with JDK installed, so you need not worry about that.

Installing Eclipse

  • Download Eclipse and extract the .zip;
  • You should now have a folder called "eclipse", copy that folder to /opt/;


[Optional] You can now create a shortcut to eclipse.
  • Open the Terminal: CTRL + ALT + T;
  • Type:
    • sudo ln -s /opt/eclipse-java/eclipse /usr/bin/eclipse
    • sudo gedit /usr/share/applications/eclipse.desktop
  • After these commands, gedit (text editor) should have opened. Now copy this and paste it there:
[Desktop Entry]
Version=4.3.0
Name=Eclipse
Comment=IDE for all seasons
#Exec=/opt/eclipse-java/eclipse
Exec=env UBUNTU_MENUPROXY=0 /opt/eclipse/eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=Utility;Application

  • Save the text file and close gedit;
  • This should have successfully created a shortcut. You may have to log off and back in for it to appear.




And that's it!

Friday, September 20, 2013

How to setup Eclipse for C/C++, MinGW and CUTE plugin


Setting Up Eclipse

  • First we need to download Eclipse. Open this link and click on "Windows 32-bit" or "Windows 64-bit" according to your system.
  • After you download the .zip, extract it and place the eclipse folder somewhere you like. I placed mine in C:\Program Files\Eclipse. Here's a screen:



Setting Up MinGW
  • Download MinGW from the link below:
  • Run the installer. Press "Install" and then "Continue".
  • The MinGW Installation Manager should now open. Click on "Basic Setup" on the left side of the window. Then look for "mingw32-base", click on the check box and select "Mark for Installation". Also mark "mingw32-gcc-g++" (Class "bin" and "dev") for Installation.
  • On the main menu bar, click on "Installation" menu and select "Apply Changes". Wait for it to finish.
  • When it is done, you should have something like this:



  • Right-click "My Computer" and select "Properties". Click on "Advanced System Settings". Press "Environment Variables..." and add a new user variable named "Path" and with the location of MinGW bin folder on its value. You should have something like this:





Setting Up CUTE plugin
  • Open Eclipse. If prompted on where to store your workspace, browse to the folder where you want to keep your projects.
  • On the main menu bar, click on "Help" menu and select "Install New Software..."

 

  • Click "Add..."
  • Fill in the forms:
    • Name: CUTE
    • Location: http://www.cute-test.com/updatesite
  • Press OK.
  • Now select:
    • CUTE Optional Features
    • CUTE Plugin
  • Press "Next" twice, select "I accept (...)" and then press "Finish". When it is done it will prompt you to restart Eclipse.


--------------------------------------
And that concludes this tutorial.
Hope it helped you!

Henrique Ferrolho