Results 1 to 1 of 1
- 11-02-2011, 04:03 AM #1
Member
- Join Date
- Nov 2011
- Posts
- 2
- Rep Power
- 0
Eclipse not producing .class files
I have some experience with Java, started with eclipse a couple months ago. I've inherited a project from someone who is no longer available. Things have been going well, able to edit and recompile without problem. Today for the first time I added a new class to the project but must have done something wrong. When I try to run, eclipse says there are errors. When I go the the hierarchy I see red X at the project/package level, but all .java source files in that package look fine (no red x). If I try to run, I get message that main class file can't be found. I checked the .bin folder, and discovered all the .class files were gone. I tried to 'build all' but that doesn't help. I tried running 'clean up', which deleted all the folders under the .bin folder (.bin top level folder is still there). Then 'build all' still didn't recreate the .bin folders or .class files. When I went to a different project, edited a file and saved it, all the .class files for that project were deleted also, and that project now has a red x. Now I can't compile or run anything. It does seem to know that the files in the project are consistent; it will flag an error if a class in one file doesn't exist in another. Any help greatly appreciated.
Similar Threads
-
Import my own class files into eclipse
By teaicky in forum New To JavaReplies: 3Last Post: 02-07-2011, 09:45 PM -
Why is this producing ArrayIndexOutOfBoundsException?
By BentByBogus in forum New To JavaReplies: 5Last Post: 10-08-2010, 09:32 PM -
Problem producing XML
By ashleyh in forum Java ServletReplies: 0Last Post: 04-13-2008, 04:29 PM -
Eclipse adding $1.class files
By eboraks in forum EclipseReplies: 1Last Post: 11-28-2007, 04:35 PM -
producing DOCs
By javaplus in forum New To JavaReplies: 0Last Post: 11-18-2007, 06:08 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks