deleting a class
How do you delete a class in eclipse? I want to create a "scanner" class (yes, I know the convention is an upercase letter) to act as a wrapper for the Scanner class of the standard library. However I accedently used an upercase S. This conflicts with the Scanner class of the standard library. so it gives an error. I tried creating a scanner class, but it won't allow 2 custom classes in the same package only differing in upper- and lower-case. So I tried deleting the Scanner class I made by deleting the .class and .java files. But it still somehow finds the .java file and won't allow me to create a scanner class. What do I have to do to get rid of the last traces of the Scanner class?
ps: yes I tried emptying the bin.
Right click on the source of your class and select the 'delete' option (with a red cross icon).
Originally Posted by imorio