Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Terminal loads Indigo, Icon loads Juno(Understanding the problem)
Terminal loads Indigo, Icon loads Juno [message #1064568] Thu, 20 June 2013 00:10 Go to next message
Harrison Schwarzer is currently offline Harrison SchwarzerFriend
Messages: 1
Registered: June 2013
Junior Member
Hey all,

First of all, I'm able to get EclipseJuno to run. But I do have a problem in that I'm not able to get Eclipse to run through the terminal.

It goes like this:

I downloaded a version of Eclipse for 32 bit Ubuntu. I run 12.04. I unpacked it, and when I went to open it through the terminal, terminal informed me that I hadn't downloaded Eclipse. It then prompted me to run some code, beginning with 'sudo', in order to download it. I said yes, my computer did some stuff for about 30 minutes, and then I was prompted to open up eclipse (via terminal). I typed in 'eclipse &', Eclipse Indigo popped up, and immediately exited.

Now, every time I try to open up eclipse through the terminal, Indigo pops up and immediately closes. I can still get Juno to work by clicking on the icon of the program that I downloaded.

I wanted to understand what was going on, and how I could get Indigo off my computer.
Re: Terminal loads Indigo, Icon loads Juno [message #1064575 is a reply to message #1064568] Thu, 20 June 2013 02:48 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3245
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 06/19/2013 08:10 PM, Harrison Schwarzer wrote:
> Hey all,
>
> First of all, I'm able to get EclipseJuno to run. But I do have a
> problem in that I'm not able to get Eclipse to run through the terminal.
> It goes like this:
>
> I downloaded a version of Eclipse for 32 bit Ubuntu. I run 12.04. I
> unpacked it, and when I went to open it through the terminal, terminal
> informed me that I hadn't downloaded Eclipse. It then prompted me to run
> some code, beginning with 'sudo', in order to download it. I said yes,
> my computer did some stuff for about 30 minutes, and then I was prompted
> to open up eclipse (via terminal). I typed in 'eclipse &', Eclipse
> Indigo popped up, and immediately exited.
> Now, every time I try to open up eclipse through the terminal, Indigo
> pops up and immediately closes. I can still get Juno to work by clicking
> on the icon of the program that I downloaded.
>
> I wanted to understand what was going on, and how I could get Indigo off
> my computer.

(Sounds like you're new to Ubuntu and Linux. Welcome!)

What happened is you attempted to invoke Eclipse at the command line.
Precise (Ubuntu 12.04) recognized this, couldn't find the executable and
suggested that you install it via the Ubuntu Software Manager and
Aptitude. You probably ran a command like

$ sudo apt-get install eclipse

This wasn't a good idea because Linux distros notoriously offer ancient,
not up-to-date packages, in this case, Indigo (which is an excellent if
older version of Eclipse that you should still get from eclipse.org and
not from Ubuntu). You did the right thing originally by downloading Juno
from eclipse.org!

What you need to do is open a console and issue the command

$ sudo apt-get purge eclipse

If you're unsure of what the actual package name you installed is, do this:

$ sudo dpkg --list | grep eclipse

and note the name of the package which you should use as argument to the
purge command.

This will return you to the state you were in before you tried
unsuccessfully to run Eclipse from the command line. At this point, you
can run Eclipse from the command line, but either you have to give a
full path to it or add the eclipse subdirectory to your PATH environment
variable.

- - - - - - - - - - - - - - - - -

Let's assume you want an icon though...

I had some trouble establishing an icon for Eclipse back during the
brief moments I tolerated Precise with Unity on my host before repenting
and abandoning Ubuntu for Mint, which behaves more like wonderful Ubuntu
did before breaking itself in 11.04. (But, this is not going to turn
into a diatribe against Ubuntu and Unity.) Here's what I suggest:

http://www.javahotchocolate.com/notes/ubuntu.html#unity-launcher

Just substitute your actual path to where you exploded Eclipse to for
the path I have pointing to my copy of Indigo.

If this note isn't helpful, if it doesn't work for your, you should turn
to Google and the Ubuntu forums because your question isn't one for an
Eclipse forum. Here's an example of what I found when I typed "create
launcher unity":

http://askubuntu.com/questions/13758/how-can-i-edit-create-new-launcher-items-in-unity-by-hand

Scroll down to "For 11.10 and newer".

Best of luck to you, comrade.
Previous Topic:RSE Save As remote?
Next Topic:Exporting Test Steps to Excel or CSV
Goto Forum:
  


Current Time: Thu Nov 27 02:56:25 GMT 2014

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

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