|
Post by yunghzz35 on Dec 21, 2016 21:26:23 GMT 5.5
I am a java programmer and i have a problem while running eclipse neon on BackSlash Elsa os. after installing eclipse from official website , i run the eclipse, then my pc stop functioning. It just freezes.
|
|
|
Post by BackSlash Linux on Dec 21, 2016 21:55:20 GMT 5.5
It's a bug in the SWT porting on GTK3. There is no real solution, but there is a workaround by forcing Eclipse to use GTK2. I a**ume your Eclipse folder is /opt/eclipse and that you don't have write permissions in this folder. Please change the commands, if your set-up differs. There are two ways to apply this workaround, a long and explanatory way, and a short one for the lazy 1. Modifying eclipse.ini by handYou need to open eclipse.ini in your Eclipse folder: sudo -i scratch-text-editor /opt/eclipse/eclipse.iniand add the following lines: --launcher.GTK_version 2It's important to add these lines before --launcher.appendVmargs, otherwise Eclipse will crash. 2. Using the command sedAn easier way to make these changes is to use sed. Copy&pase this command in your terminal and press Enter: sudo sed -i '/--launcher.appendVmargs/ i \--launcher.GTK_version\n2' /opt/eclipse/eclipse.iniYour Eclipse should work properly from now on. Hope this Helps. Regards, Admin
|
|
|
Post by yunghzz35 on Dec 21, 2016 22:04:48 GMT 5.5
Thanks Now Elsa won't be freezed by eclipse 
|
|
|
Post by BackSlash Linux on Dec 21, 2016 23:49:30 GMT 5.5
You're most welcome 
|
|