Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Rony Gan](https://secure.gravatar.com/avatar/6cb91c16ee76641b47f6d7d713daa294?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Rony Gan
829 PointsGetting Error:
Error: Could not find or load main class Example.java while running the program
![Shane Robinson](https://uploads.teamtreehouse.com/production/profile-photos/3923762/micro_WP_000010.jpg)
Shane Robinson
7,324 PointsAs Philip stated we will need the code for your classes since it could be a number of issues. The most likely is that you made a typo somewhere, like misspelling Example at some point or some other small error like that.
![Rafael Cortes](https://secure.gravatar.com/avatar/66d53a4497608afea23928c77e2d2c54?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Rafael Cortes
1,174 PointsSounds like you deleted a file of didn't link the methods to communicate with the main java file.
![John Paige](https://uploads.teamtreehouse.com/production/profile-photos/5512632/micro_bb9658_6205050.jpg)
John Paige
7,436 PointsI had the same issue a few minutes ago. I spell-checked both classes and then spell checked what i typed in the console, to realize i put "clear %% javac Example.java && java Example" I changed it and it worked.
![Enej Lah](https://secure.gravatar.com/avatar/f77fb1313db56694bb11332aad8f623f?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Enej Lah
Java Web Development Techdegree Student 957 PointsShow us the code by updating your problem, then I'll try to figure, what's wrong.
Philip Gales
15,193 PointsPhilip Gales
15,193 PointsCan you list your code here for each class?