To do a simple clean:
Build Clean deletes the sourcename.class
in the source's folder. If the compiler's Target property is set,
this commands deletes sourcename.class
in the appropriate destination folder.
If you selected a folder, this command deletes all .class files within the folder. This command
does not remove .class files within subfolders or
.class files that no longer have a corresponding .java source.
Build Clean All is similar to Clean, but
removes all .class files within a folder and its subfolders.
To clean .class files that are named differently from their .java files:
The IDE inspects every .class file without matching it to a Java source file.
![]() |
Be careful when enabling this property if you are working with JARs and libraries of classes without source files. Also, it is time consuming for the IDE to recognize .class files that are without a source file. |
See also | |
---|---|
Specifying a Target Directory for Class Files |