Ubuntu – How to make Eclipse work (bash permission)

11.04command lineeclipse

Well , I've tried to compile and install Eclipse 3.6.2 using the instructions in :
How to update Eclipse 3.5.2 to 3.6.2? .

But Eclipse doesn't open.

user@s-HP-550:~$ eclipse
bash: /usr/bin/eclipse: Permission denied

Edit :

user@s-HP-550:~$ ls -l /usr/bin/eclipse
-rw-r--r-- 1 root root 70 2011-06-12 18:15 /usr/bin/eclipse 


user@s-HP-550:~$ file /usr/bin/eclipse
/usr/bin/eclipse: POSIX shell script text executable

Best Answer

I see a little error in that procedure.

Show the output of

ls -l /usr/bin/eclipse

if it is not executable, do

sudo chmod +x /usr/bin/eclipse

Il gives an error of unquoted string, edit it

sudo nano /usr/bin/eclipse

and add a double quote at end of "$@, that should read "$@"

Related Question