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

Problem with second line of text

When he typed in the "I am learning code" i put that in all correctly, and everything in my console was setup, but all it was showing was the first line of text "My name"

3 Answers

Muhamed Asil
Muhamed Asil
7,453 Points

can you share your code?

abmsc86
abmsc86
4,949 Points

Hi Brian,

The workstation link you shared only shows the first line of code you wrote:

    console.printf("Hello, I am Groot");

With regards to your console not showing the string "I am learning code", I would think you need to save after writing the second line of code and before compiling in your console.

I hope this helps.

Saving did not work. Hopefully this link will work: http://w.trhou.se/82e9wwd553

I'm having the same issue, I tired saving first and nothing. Is there a way I can use something like sublime txt instead of the workspace

I'm having the same issue, I tried saving first and nothing is working.