I just downloaded Eclipse, hoping to be able to learn some java. Now, I can open it and run it fine. I just can't seem to open it up from terminal. Practically, this isn't a problem, but I want to understand what's going on.
Basically, I tried to run the Eclipse program, after unpacking it, from my Terminal using the line 'eclipse &'. I have no idea if this was the right thing to do. Either way, terminal spit back that I needed to download eclipse using a sudo command. I did, and after about 15 minutes, I was able to type 'eclipse' into my terminal, and eclipse indigo popped up. Unfortunately, it immediately quit as soon as I opened it.
Now, I downloaded Juno, so I know something fishy that I don't understand is going on. I can open it by clicking it's icon in my home directory, but everytime I try to open it via terminal, it goes kaplooey.
How can I diagnose what's going on?