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
Robert Stamate
13,227 Points[Not sure if bug] Java: Working Space
So I restarted the Java track, and I noticed in the Working Space.
First was that I had written what the teacher asked too. All good and nice so far, followed by javac & java. The output was working fine.
After that I played a bit, and changed some values ( String ) and did the same steps as before: javac & java. I was getting the same output as before.
This only return a proper output if I used [ clear ] command in between [ javac ] commands. It's not bugging me much, but I though it would help leaving it out here.
Robert Stamate
13,227 PointsI did save the file, and without any other change, I just typed [ clear ] and a new [ javac ] the code printed out the new result.
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherThe only thing I can tell that might have gone wrong is that you might have forgotten to save your file between versions. If you don't save the file then it's going to compile what the file was before you saved it and run that, which would explain there being no change in the strings. Every time you edit a file you must both save it and recompile it. And this is not just true of workspaces but also local IDEs.