If for some reason you get an error similar to "no main found" or "The selection does not contain a main type" when compiling your code then try one of the following: 1. Make sure your project (e.g., p1) has not been misplaced. It should be a folder in your "Package Explorer Pane" (the little window to the left of the area where you see code). Remember, when checking out a project, just make sure you see the name of the project (e.g., p1) and then right-click on p1 and select "Check out". One more thing: once you check out a project you must change to the Dr. Java perspective. Don't edit your files in the CVS perspective. 2. You must write your code in CreditCard.java file. For example, if you are trying out some java concepts and want to create a file that can be compiled and run then you must create a class (select File->New->Class) If you create an actual file (File->New->Other->File) then this file will not compile and you will get the error "The selection does not contain a main type" 3. Re checking your code without losing what you have done. a. Change to Dr. Java Perspective and Reset the perspective (this is just to make sure we are in Dr. Java). b. Disconnect the current project by right-clicking on the project->Team->Disconnect c. Rename the project from p1 to another name (e.g, p1Temp) by right-clicking on project->Refractor->Rename d. Check out the p1 folder that appears under projects from the CVS repository. e. Cut and paste the code the class (or file) in p1Temp into the CreditCard.java file