Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

mauricio almonte
1,706 Pointsafter saving the "introductions.java" file, is not printing my name as it should, I'm i doing something wrong?
the following code is not printing my name:
import java.io.Console;
public class Introductions {
public static void main(String[] args) {
Console console = System.console();
// Welcome to the Introductions program! Your code goes below here
console.printf("my, name is mauricio");
} }
3 Answers

mauricio almonte
1,706 Pointsi just got it working, its a little confusing at first but i saved it all and compiled it and now it works just fine, thanks all, newbie here lol

Hubert Szczepański
6,325 PointsHi there!
Please make sure that you saved your progress by clicking File -> Save all!

mauricio almonte
1,706 PointsHi, thanks for the quick response, i did saved all documents, for some reason when i do "java Introductions" it wont print anything. bellow i show you what i have. i wonder if there is anything wrong with the code.
import java.io.Console;
public class Introductions {
public static void main(String[] args) {
Console console = System.console();
// Welcome to the Introductions program! Your code goes below here
console.printf("mauricio");
} }

Hubert Szczepański
6,325 PointsCan you please copy/paste console output? Do you see any errors? It seems that there is everything OK with code. I managed to run it.
Hubert Szczepański
6,325 PointsHubert Szczepański
6,325 PointsGreat!