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

Java Java Data Structures - Retired Getting There Packages

Charlie Carpenter
Charlie Carpenter
3,398 Points

whenever I try to run my code it tells me Example.java is not found but it is clearly there.

I have created everything as shown and then after executing "clear && javac Example.java && java Example is gives me an error message saying the file is not found. I am working in the workspaces can someone help.

Check your filename if it has an uppercase E and not a lower case e. Also, make sure you save the file contents.

I was having the same issue and what solved it for me was the file Example is not supposed to be in the com folder at all, I know Craig told us but it went by a little fast for me so I didn't pick up on it!

1 Answer

Craig Dennis
STAFF
Craig Dennis
Treehouse Teacher

Are you still stuck Charlie Carpenter ? If so click the snapshot at the top of the workspace...it will let you share.

Hope you are unstuck!

Charlie Carpenter
Charlie Carpenter
3,398 Points

No after not being able to make it work i basically just watched the tutorials without bothering to also practice the programming but it's working again now with other ones so i'm going to just leave it.