The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

Lost project in Eclipse ( sorry im new to this) any help welcome

Hi,
Thanks for the taking the time too look at this! Lost my project in eclipse and now sure how to find it.
I did a search for it and it comes up down the bottom in workspace project but that it.
I did move my files around to make finding my work easier but would this effect eclipse as i did not move any of them?
Its a mystery too me and it driving me mad.
Any help be appreciated thanks

Re: Lost project in Eclipse ( sorry im new to this) any help welcome

Originally Posted by MissyK

Lost my project in eclipse and now sure how to find it.

When you delete a project from inside Eclipse, you are offered the option to "Delete project contents on disk (cannot be undone)". If not selected, the project is only removed from the view of Eclipse but physically is still existent. If selected ..... there's not much that you can do. At most, try with a file recovery system tool (Recuva or similar).

Re: Lost project in Eclipse ( sorry im new to this) any help welcome

I did move my files around to make finding my work easier but would this effect eclipse as i did not move any of them?

Impossible to say. It depends on what files you moved, whether you moved them using Eclipse's project explorer or your OS's file management tools outside Eclipse. If you moved the files, you should know where you moved them to. If you moved them and Eclipse can't find them, then you can move them back and press F5 to refresh the Explorer. (It might be too late for that, but give it a shot.) Or you can import the files from their new location to an Eclipse project using Eclipse's import feature.

If, as andbin suggests, you deleted the project and the files on your disk, then none of what I've said will be useful until you recover the files.

Re: Lost project in Eclipse ( sorry im new to this) any help welcome

Thank you i located them in the end.. silly enough there where hiding in the up folder ;/
However i wondered if you could help me again.
Im, trying to run my program but it keeps going back to another one called pet and no matter what i do it keeps going back to it. Also the numbers are not visible for the lines of code, do you know how i can get them back thanks.
As i say im just starting out so sorry if these questions sound silly
thanks you

Re: Lost project in Eclipse ( sorry im new to this) any help welcome

In the package explorer, right click on the new file you want to run, select "Run" or "Run as . . ." (forget exactly what it says), and then select as an application (if that's appropriate). If "as an application" isn't offered, then that means the code hasn't met the requirements to be an application, no main() method or something. Keep us posted.