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 trialArtemus Twillie
145 PointsI followed the instructions and its still not running the command, the questions section did not solve my problem.
as soon as i can uplaod a snapshot i will so everyone can see.
Artemus Twillie
145 PointsIm on the first java basics video. Strings and variables if im not mistaken.
Artemus Twillie
145 Pointshttps://w.trhou.se/tf3etvl5v7 ok so i strated the video over and getting the same error. hopfully you can see the snapshot
2 Answers
sabin gautam
Courses Plus Student 93 PointsI have the same issue. It is really demotivating. I tried more than 100 times but still have the sam e issue can anyone please help
Steven Parker
231,184 PointsThis code seems OK (though without formatting there could be unseen issues). How do you build and test it?
If you still have trouble, make a snapshot of your workspace and post the link to it here, then we can more easily (and accurately) replicate the issue.
Steven Parker
231,184 PointsYou might want to add a newline, but otherwise it seems to work OK for me:
treehouse:~/workspace$ javac Introductions.java β
builds without errors
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m
treehouse:~/workspace$ java Introductions
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m
Hello, my name is Artemusβtreehouse:~/workspace$
β
βruns and outputs the message
Artemus Twillie
145 PointsArtemus Twillie
145 Pointsimport java.io.Console;
public class Introductions {
console.printf("Hello my name is Artemus");
} }