• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse installation in ubuntu12.04 manually

 
Priya chek
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eclipse can't launch in Ubunto 12.04.Which verrsion of eclipse is compatable with eclipse.??How to install eclipse in ubunto??i tried lot. But failled. Getting error message like 'can't launch /opt/eclipse'. please help me.please. I appreciate any help. plzzz
 
Archana Nanjundarao
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Did you download Eclipse from Software Center on Ubuntu?
 
Priya chek
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes Eclipse Indigo...but it is not working...some error in log files.
 
Archana Nanjundarao
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

My bad, I didn't see the "manually" part of your question. Please check if you have eclipse executable in /opt/eclipse folder first. If you don't have search for the executable location and set the path as below.

Exec=/opt/eclipse/your_eclipse_executable_location
sudo ln -s /opt/eclipse/your_eclipse_executable_location

 
Archana Nanjundarao
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you already have executable present in /opt/eclipse then try changing the access to it.

chmod +x /opt/eclipse/eclipse
 
Priya chek
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried it.But getting error 'cannot access `/opt/eclipse/eclipse': Not a directory'
 
Priya chek
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I checked file type of the file 'eclipse' in my /usr/local/bin
/usr/local/bin$ file eclipse
eclipse: broken symbolic link to `/opt/eclipse/eclipse'

getting it as a broken symbolic link. what happend?? how it break??
 
Archana Nanjundarao
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this.. It should fix the broken link

sudo rm /usr/local/bin/eclipse
sudo ln -s /opt/eclipse/eclipse /usr/local/bin/eclipse

sudo /opt/eclipse/eclipse -clean &
 
Priya chek
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Archana,

I tried it.but .getting error like

sudo: /opt/eclipse/eclipse: command not found






 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm, something seems wrong in you Eclipse installation. Let me see if I understand this correctly. You downloaded a tar.gz file from the Eclipse download site and unpacked it to /opt. Is that correct? Or did you download a .zip file?

Also, post the output to this command:

ls -al /opt

Finally, what JDK are you using and how did you install it?
 
Priya chek
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..
Actually i got tar file of eclipse.& i untarr it &moved it to /opt then when i try to launch i can't. Getting error. I installed jdk7 manually.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where did you get a .tar file? The only Linux downloads I see on the Eclipse download page are all tar.gz files.

Open a terminal and enter:

java -version

And post the results. (I suspect you might not have changed the /usr/bin/java softlink to reference the JDK 7 java that you installed.)

You also did not post the 'ls' output I asked for.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic