Right click your project name. Click properties. Click Java Build Path. Click on Add Class Folder. Then choose your class. Alternatively, add jars should work although you claim that you attempted that. Also, "have you tried turning it off and back on again"?