Wednesday, April 24, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 5472  / 1 Year ago, sun, december 25, 2022, 3:56:39

I downloaded Eclipse from Eclipse page and extracted it in Downloads directory. When I run Eclipse as normal user then application behaves strange:



$ ./eclipse
Gtk-Message: Failed to load module "canberra-gtk-module"


Some symptoms:




  • Eclipse can't resolve symbols in source code and marks them as invalid

  • GUI looks like in other KDE applications

  • when I quit program, then there is some error about write protection



Error message:



Problems occurred while trying to save the state of the workbench.
Could not write metadata for '/ab'.
/home/user/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/ab/.markers (Permission denied)


I encountered some other problems like write problems during update.



However when I run Eclipse as super user:



$ sudo ./eclipse


then everything works as it should and GUI looks different (GTK is loaded or what? I don't know).



I tried to give 777 permission to all files in Eclipse directory but it didn't work. And I didn't install Eclipse anywhere, just downloaded and extracted. I tried also to download Eclipse with apt-get but there was the same problem. How to make Eclipse work correct?



I use Kubuntu 11.10.


More From » eclipse

 Answers
5

Possibly the permissions on your workspace are messed up? Usually that's in ~/workspaces, so if you do a chown -R on that tree, it might help.


[#40176] Monday, December 26, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
giccolla

Total Points: 161
Total Questions: 124
Total Answers: 117

Location: Aland Islands
Member since Wed, Nov 17, 2021
2 Years ago
;