How to enable Eclipse crash under FC-Linux general technology-Linux programming and kernel information. The following is a detailed description. Many people report that the built-in eclipse of FC crashes when it is run. Most of the solutions on the Internet are to uninstall the built-in eclipse and reinstall it by yourself. I recently discovered that this problem is caused by the compatibility between the eclipse version and FC. I installed the latest eclipse3.1.1 and the corresponding CDT, and found that running it directly will still cause a crash. The Versions earlier than 3.1 will be okay. The solution is to write a shell script under/usr/local/bin to start eclipse. The file name is called eclipse. sh and the content is as follows:
#-The vm is followed by the java installation directory, and the-data is followed by the eclipse workspace directory
Then create a starter on the desktop and call this. sh to start eclipse normally.
Another funny thing is that the eclipse project files under linux must be "put" in the workspace directory before they can be opened normally, however, in windows, the eclipse project file must be "not put" in the workspace directory to open normally. I don't know why. It's such a rule.
The above are some simple experiences, and I hope you can share them with me.
Additional: some people on the Internet also said that switching to another user should not use the root user. After logging in, you can use eclipse, but I have not tried it, there is no problem with the method of using the master station upstairs.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.