Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How do I install Eclipse 3.7 C++ in ubuntu 11.10?
icon5.gif  How do I install Eclipse 3.7 C++ in ubuntu 11.10? [message #760460] Fri, 02 December 2011 13:05 Go to next message
Arman  is currently offline Arman Friend
Messages: 15
Registered: November 2011
Junior Member
So I know we're not supposed to install eclipse from the repositories, so I downloaded it from this website. I extracted it and it runs, but I have no desktop/unity shortcut now, and ubuntu being ubuntu I can't add a shortcut to Unity without installing more software I don't want.

So how am I supposed to install the Eclipse 3.7 C++ for linux developers (32 bit) under ubuntu 11.10?

[Updated on: Fri, 02 December 2011 13:06]

Report message to a moderator

Re: How am I supposed to install Eclipse 3.7 C++ in ubuntu 11.10? [message #760512 is a reply to message #760460] Fri, 02 December 2011 16:12 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
On 12/02/2011 07:05 AM, Arman wrote:
> So I know we're not supposed to install eclipse some the repositories,
> so I downloaded it from this website. I extracted it and it runs, but I
> have no desktop/unity shortcut now, and ubuntu being ubuntu I can't add
> a shortcut to Unity without installing more software I don't want.
> So how am I supposed to install the Eclipse 3.7 C++ for linux developers
> (32 bit) under ubuntu 11.10?
Ubuntu made it hard to create launchers for applications that don't
conform to their preferred view of the world.

You will have to manually create a desktop file for Eclipse. Once you
create the file, you can use Nautilus to browse to the folder containing
the desktop file. Drag to the Ubuntu Launcher.

One shortcut is to create the desktop file in the Desktop folder. This
will then display the file on the Desktop. You can just drag and drop
from their.


Here is a sample desktop file. Call it indigo.desktop and make sure
that you have execute permission on the file. Change the paths in Icon,
Exec, and Icon[en_US] to point to the appropriate places in your system.

#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=/home/myname/indigo/eclipse/icon.xpm
Name[en_US]=Indigo
Exec=/home/myname/indigo/eclipse/eclipse
Name=Indigo
Icon=/home/myname/indigo/eclipse/icon.xpm
Re: How am I supposed to install Eclipse 3.7 C++ in ubuntu 11.10? [message #760539 is a reply to message #760460] Fri, 02 December 2011 18:22 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 02-Dec-11 06:05, Arman wrote:
> So I know we're not supposed to install eclipse some the repositories,
> so I downloaded it from this website. I extracted it and it runs, but I
> have no desktop/unity shortcut now, and ubuntu being ubuntu I can't add
> a shortcut to Unity without installing more software I don't want.
> So how am I supposed to install the Eclipse 3.7 C++ for linux developers
> (32 bit) under ubuntu 11.10?

Here are the steps I use to create a launcher for Eclipse on my GNOME
desktop in Ubuntu (all Ubuntu releases I've ever used):

1. Right-click out on empty desktop.
2. Choose Create Launcher...
3. Type "Indigo" for Name:
4. Click Browse...
5. Go find file eclipse where you exploded your Eclipse download.
6. Click the funny icon in the Create Launcher dialog.
7. Go back to where you exploded your Eclipse download and click on
icon.xpm.
8. Click OK.

And there you are. If you want it on the top (panel) bar, just click on
it and drag it up there.

Hope this helps.
Re: How am I supposed to install Eclipse 3.7 C++ in ubuntu 11.10? [message #760567 is a reply to message #760539] Fri, 02 December 2011 23:32 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
On 12/02/2011 12:22 PM, Russell Bateman wrote:
> On 02-Dec-11 06:05, Arman wrote:
>> So I know we're not supposed to install eclipse some the repositories,
>> so I downloaded it from this website. I extracted it and it runs, but I
>> have no desktop/unity shortcut now, and ubuntu being ubuntu I can't add
>> a shortcut to Unity without installing more software I don't want.
>> So how am I supposed to install the Eclipse 3.7 C++ for linux developers
>> (32 bit) under ubuntu 11.10?
>
> Here are the steps I use to create a launcher for Eclipse on my GNOME
> desktop in Ubuntu (all Ubuntu releases I've ever used):
>
> 1. Right-click out on empty desktop.
> 2. Choose Create Launcher...
> 3. Type "Indigo" for Name:
> 4. Click Browse...
> 5. Go find file eclipse where you exploded your Eclipse download.
> 6. Click the funny icon in the Create Launcher dialog.
> 7. Go back to where you exploded your Eclipse download and click on
> icon.xpm.
> 8. Click OK.
>
> And there you are. If you want it on the top (panel) bar, just click on
> it and drag it up there.
>
> Hope this helps.
You must not have upgraded to 11.10 yet. Right clicking on the Desktop
no longer provides the Create Launcher option. You now have to manually
create the desktop file or copy an existing one.
Re: How am I supposed to install Eclipse 3.7 C++ in ubuntu 11.10? [message #760661 is a reply to message #760567] Sat, 03 December 2011 23:23 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.12.02 16:32, David Wegener wrote:
> On 12/02/2011 12:22 PM, Russell Bateman wrote:
>> On 02-Dec-11 06:05, Arman wrote:
>>> So I know we're not supposed to install eclipse some the repositories,
>>> so I downloaded it from this website. I extracted it and it runs, but I
>>> have no desktop/unity shortcut now, and ubuntu being ubuntu I can't add
>>> a shortcut to Unity without installing more software I don't want.
>>> So how am I supposed to install the Eclipse 3.7 C++ for linux developers
>>> (32 bit) under ubuntu 11.10?
>>
>> Here are the steps I use to create a launcher for Eclipse on my GNOME
>> desktop in Ubuntu (all Ubuntu releases I've ever used):
>>
>> 1. Right-click out on empty desktop.
>> 2. Choose Create Launcher...
>> 3. Type "Indigo" for Name:
>> 4. Click Browse...
>> 5. Go find file eclipse where you exploded your Eclipse download.
>> 6. Click the funny icon in the Create Launcher dialog.
>> 7. Go back to where you exploded your Eclipse download and click on
>> icon.xpm.
>> 8. Click OK.
>>
>> And there you are. If you want it on the top (panel) bar, just click on
>> it and drag it up there.
>>
>> Hope this helps.
> You must not have upgraded to 11.10 yet. Right clicking on the Desktop
> no longer provides the Create Launcher option. You now have to manually
> create the desktop file or copy an existing one.

Ah, good to know. This is yet another reason to eschew Natty, Oneiric
and Unity altogether.
Re: How am I supposed to install Eclipse 3.7 C++ in ubuntu 11.10? [message #760737 is a reply to message #760512] Sun, 04 December 2011 23:50 Go to previous message
Arman  is currently offline Arman Friend
Messages: 15
Registered: November 2011
Junior Member
dpwegener wrote on Fri, 02 December 2011 11:12
You will have to manually create a desktop file for Eclipse. Once you create the file, you can use Nautilus to browse to the folder containing the desktop file. Drag to the Ubuntu Launcher.

One shortcut is to create the desktop file in the Desktop folder. This will then display the file on the Desktop. You can just drag and drop from their.

Here is a sample desktop file. Call it indigo.desktop and make sure that you have execute permission on the file. Change the paths in Icon, Exec, and Icon[en_US] to point to the appropriate places in your system.

#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=/home/myname/indigo/eclipse/icon.xpm
Name[en_US]=Indigo
Exec=/home/myname/indigo/eclipse/eclipse
Name=Indigo
Icon=/home/myname/indigo/eclipse/icon.xpm


That worked for me, thanks. So why did they make it so hard to just run a simple program? Why doesn't unity have a "add launcher" option?
Previous Topic:Client Development Environment for FileNet P8
Next Topic:Help with Homework
Goto Forum:
  


Current Time: Thu Apr 25 13:46:04 GMT 2024

Powered by FUDForum. Page generated in 0.08420 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top