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 trialEmeka Nwadiogbu
207 PointsI keep getting an error syntax message when trying to input: clear && javac java.TreeStory && java TreeStory
I keep getting syntax errors when trying to work the Workspace.
1 Answer
Michael Heister
8,586 PointsHello Emeka,
from what you posted your issue lies here: javac java.TreeStory
To compile you need to tell the console the file name, which is "TreeStory.java", so it seems you inadvertantly flipped around the file extension to the front which gives you the error.
Emeka Nwadiogbu
207 PointsEmeka Nwadiogbu
207 PointsOkay. Wow. I will adjust to these corrections today. Thanks a lot Michael