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
link|improve this question

feedback

2 Answers

up vote 2 down vote accepted

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 "$@"

link|improve this answer
@enzotib: post edited – Binarylife Jun 12 '11 at 15:48
So sudo chmod +x /usr/bin/eclipse and retry to launch it. – enzotib Jun 12 '11 at 15:49
@enzotib another error : /usr/bin/eclipse: 3: Syntax error: Unterminated quoted string – Binarylife Jun 12 '11 at 15:51
@binarylife: see my edit – enzotib Jun 12 '11 at 15:55
2  
Edited the original procedure, so that others will avoid the problems. – enzotib Jun 12 '11 at 16:13
show 1 more comment
feedback

Locking is not possible in the directory "/usr/lib/eclipse/configuration/org.eclipse.osgi". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking passing "-Dosgi.locking=none" as a VM argument. /usr/lib/eclipse/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.