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 trialArturs Certuks
13,059 PointsCould not find or load main class Example. - Can someone help with this, please???
After doing everything like in the video an did the "clear && javac.........." at first it was showing some errors, found them and fixed them while watching video over and over again, but now everything seems to be correct, but it's showing -> "Could not find or load main class Example."
Anyone has an idea what could be the problem?
Max Danger
9,554 PointsMax Danger
9,554 PointsIt took me some time to find the solution so I guess it is helpful to show the answer here: remove the last "." when writing "clean && javac..." unlike in the video. The dot at the end of "Example." changes something with the file's path.
Good luck!