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 Basics Getting Started with Java Strings and Variables

Output remains the same no matter what i change in the code

When inputing a new console.printf("hello my name is craig"); command no matter what i change the sentence to it stays the same. I cant add commands either. It seems like it is compiling off an older instance of my code and wont update.

Steven Parker
Steven Parker
231,184 Points

Your guess sounds reasonable. We can determine why you make a snapshot of your workspace and post the link to it here.

1 Answer

Steven Parker
Steven Parker
231,184 Points

Make sure that you save your changes in the editor, using either the menu or the Ctrl-S shortcut. Then re-compile the code and run it. If that doesn't help, post that snapshot and we can take a closer look.