Windows → Preferences - >C/C++ → Code Style → Formatter
update-alternatives --install /usr/bin/eclipse eclipse /opt/eclipse-mars/eclipse 100
Error 1:
org.eclipse.swt.SWTError: No more handles [Browser style SWT.MOZILLA and Java system property org.eclipse.swt.browser.DefaultType=mozilla are not supported with GTK 3 as XULRunner is not ported for GTK 3 yet]
Solution 1: Disable GTK 3 support in Eclipse. Run eclipse with –launcher.GTK_version 2
Error 2:
Unhandled event loop exception No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
Solution 2:
sudo apt-get install libwebkitgtk-1.0-0