Everytime I try to run eclipse, my system crashes. That happens when it appears the window that asks me to select the workspace. I've installed JDK and Maven, and downloaded Eclipse from the official website
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 assume 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 ;)
Modifying eclipse.ini by hand
You need to open eclipse.ini in your Eclipse folder:
sudo -i scratch-text-editor /opt/eclipse/eclipse.ini
and add the following lines:
--launcher.GTK_version
2
It's important to add these lines before --launcher.appendVmargs, otherwise Eclipse will crash.
for more reference, plz check
https://elementaryos.stackexchange.com/questions/1276/eclipse-mars-freezes-after-splash-screen
I was having this problem (Eclipse freeze, crash, with elementary OS Freya).
My Eclipse installation was done using the installer, so my path was different to what Prade jo indicates, but his solution was right on.
sudo scratch-text-editor
Browse to home -> yourUserName -> eclipse -> java-mars (or whichever version you have) -> eclipse -> eclipse.ini
The line before "--launcher.appendVmargs", add:
--launcher.GTK_version
2
Should now be good to go.
I had the same issue with Oxygen and Elementary Loki. Changing to GTK2 worked for me.
Try running eclipse from the terminal to see the problem. Most likely it is an X server problem.
Related
I have a very weird, and extremely annoying, problem.
Each time after reboot (or logout), old uninstalled extensions that I tried out and decided not for me, reinstall themselves. I have to go tho gnome extension in Firefox and uninstall them.
Side Issue: for some reason, I can't remove extensions with pending updates. So I update the extensions I wish to remove, which is completely backwards. This would not be an issue given the main issue wasn't there.
I checked the directory ~/.local/share/gnome-shell/extensions . Only desired extensions appear there in ls -a.
Thanks in Advance,
Gal
Some extensions are installed in /usr/share/gnome-shell/extensions. Try checking in that path. You'll need root privileges
I am running RedHawk 1.10.2 on Ubuntu14.04. I built RedHawk from sources following the instructions in Appendix F of the manual. But when I start the the ide the window is missing the top menu bar "File Edit Source Refactor Navigate ..." When I run 1.10.0 on CentOS it is there. Has 1.10.2 changed something or did my build miss something? I am not familiar with customizing Eclipse, so I have no idea where these menus are configured into Eclipse (or any of the other menus that ARE appearing fine).
Has anyone seen this? Can you point me to what might have gone wrong or where in the source this was setup?
Its an issue with Eclipse and newer versions of Ubuntu.
See this related Stackoverflow post:
Eclipse menus don't show up after upgrading to Ubuntu 13.10
I found it easiest if you put the following in your bashrc
export UBUNTU_MENUPROXY=0
I used the Software Manager in Linux Mint to install Eclipse Platform. It was working yesterday, however, now whenever I run it I get the following error message:
The Eclipse executable launcher was unable to locate its companion shared library.
I tried uninstalling it and then installing it again. Much to my confusion, this did not work. The error message still persists. It implies Eclipse requires a shared dependency that it cannot find. Is there anyway to find out what this is and install it? I've tried 'apt-get dist-upgrade' to update packages but this didn't resolve the issue at hand.
I have been using linux and Eclipse for years, but I would never suggest anyone install Eclipse from the platform repositories for any distribution.
Get your eclipse zips directly from Eclipse.org
Personally, I would just "Google it." (Or, in my case, "DuckDuckGo it.") Put the exact error-message text in double quotes to tell the search-engine that you are looking for the exact phrase.
DDG promptly referred me to this page: http://veeddie.blogspot.com/2010/06/eclipse-executable-launcher-was-unable.html
When I try to install/update any plugin from Help -> Install New Software I receive error messages like this:
No repository found at http://download.eclipse.org/releases/galileo.
or
Unable to connect to repository http://pydev.org/updates/site.xml
Invalid argument
This happens with all Eclipse versions.
I use Eclipse on Debian Sid.
I had the same problem, try running eclipse with these options:
-vmargs -Djava.net.preferIPv4Stack=true
It worked for me
(see https://lists.launchpad.net/openjdk/msg03123.html)
Try disabling proxies inside Eclipse. This helped me once.
Here are some generic eclipse error resolution steps I use:
1) Try run eclipse with the -clean option. This should cleanup some stuff. No clue if it helps with your problem, but maybe worth a try?
2) Delete .metadata directory (or move it temporarily away) from your workspace and run eclipse with the -clean option again.
3) (Skip if you have tried this) Try download another eclipse installation into another local directory and try to see if that works out of the box. If it works, your former eclipse installation was bugged. If it does not work, I suggest checking your general network access to the specific urls you mention.
I needed to install ibus on Ubuntu 19.04 LTS and shortly after doing so I started getting this error when trying any file in Eclipse 2019.
org.eclipse.swt.SWTError: No more handles
I tried installing the newest version thinking something broke in Eclipse, but I couldn't even install because I got the same error in the installer.
I didn't realize right away that ibus was the cause because I didn't try using Eclipse for several hours after installing it.
After a lot of searching and trying just about everything, the answer turned out to be the need to set the GTK mode before launching Eclipse.
export GTK_IM_MODULE="ibus"
To make my life easier in the future, I created a script file to do this any time I started Eclipse. This is a simple text file with the executable flag set.
#/bin/bash
export GTK_IM_MODULE="ibus"
~/Programs/eclipse/php-2019-03/eclipse/eclipse
I hope this saves others a great deal of searching.