I made a mistake and deleted the .metadata folder in my home directory (I'm using Linux redhat.) Now, Eclipse doesn't launch at all. The window with the eclipse icon shows up and nothing happens after that.
Any solution to this? Did it actually even depend on that .metadata directory?
Thanks in advance.
First thing I would try is opening Eclipse in a new workspace. The other thing you can also try is starting Eclipse in clean mode, just add -clean.
Related
I have been using eclipse to learn how to program Java and one day when I tried to use Eclipse it would not open. I get the purple window with a loading bar but when that gets about half way it crashes but does not give me any report as to why it crashed. How could I fix Eclipse or how could I save my projects so that I can reinstall Eclipse?
Your projects are already saved in your hard disk. You just need to reinstall, and when you open again to give the specific path to your projects.
Your projects (Eclipse workspace folder) are saved on your hard-drive . It has nothing to do with your Eclipse crash. If the folder is located inside Eclipse folder, just copy it to some other location. If it is already outside, you are safe.
If you re-install Eclipse, just use this copied workspace as your Eclipse workspace, it should just work fine.
Note: It would be easy to fix existing Eclipse, given you provide exact error message.
be cool , you can get your projects without any problem
1) go to eclipse.org ("https://eclipse.org/downloads/") and download eclipse and re-install then it will bind with your existing workspace in eclipse then you can open your projects through eclipse
2)eclipse default workspace is" C:\Users\yourname\workspace " manualy go to this link in here replace "yourname" with your PC name and get your projects
From one day to the next my eclipse act weird.
When I do any changes and then save them, Eclipse doesn't take them in consideration until I do a "clean project".
Before it's wasn't the case and I could even make changes while debugging.
Do you have any lead on why it does that?
I guess it's a metadata problem.
Just close Eclipse and navigate to your workspace folder. Delete the .metadata folder and restart Eclipse. The project should build as it should be :)
When you delete the .metadata folder, things like the Class Path are being validated again.
Beware:
Your Eclipse settings are gone after you delete the .metadata folder. So you have to import you project again, your theme is gone. Everything must be set again.
I am facing this issue everytime i start eclipse.
This is messing up the xml layouts. How do i reslove this ?
you can easily fix this
1) close your eclipse
2) go to your workspace folder
3) and delete .metadata folder
4) open your eclispse again
This is probably due to Android SDK. Check for SDK updates and install it. Reopen Eclipse and every thing should work fine.
This works, but have to re-import all the project from the workspace, as we are deleting the metadata.
I've tried cleaning and validating my project, restarting both Eclipse and my computer and my java class files won't open in the editor. Also, I've tried deleting the project from my workspace and reimporting it and no luck. Does anyone know what it might be?
Window -> Reset Perspective worked for me
Try this Right Click on File -> Open With -> Java Editor
Make sure you are in the Java perspective.
Try cleaning eclipse. Start eclipse with
eclipse --clean
Hope this helps.
make sure that a single click is selected for open mode. if you go to preference setting, it will be the first thing you will see
When I open my file Java - I see ... nothing
but when I Restart Eclipse - all working again ... before it will not open another file of my project
what happens? I can not restart eclipse every time
Right click on the root of your project and select Refresh. Maybe the files are out of sync with the file system.
This could be a problem with installation of eclipse.I will suggest you to reinstall eclipse and adt plug in.