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 trialAndrei Oprescu
9,547 PointsCan I get some help? I don't know what is wrong.
input:
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("Hello, my name is Andrei");
console.printf("Andrei is learning how to write Java");
}
}
when I write javac Introductions.java it says I have 2 errors. can you tell me what is wrong?
Zac Mazza
5,867 PointsI agree with Ronald. The code looks OK. Seeing the errors would make it easier to determine what's going on so we can help you. Can you post those when you have a chance?
Thanks,
Zac
Andrei Oprescu
9,547 Pointsno problem guys. I solved the problem.
Thanks for your help
2 Answers
Zac Mazza
5,867 PointsGreat to hear! Any insights to share in case someone else may be having a similar issue? What ended up resolving the issue for you?
- Zac
Andrei Oprescu
9,547 PointsI re-took the courses which showed me what the workspace should look like.
Zac Mazza
5,867 PointsThanks Andrei for the quick reply. Glad you were able to get things working!
- Zac
Ronald Williams
Java Web Development Techdegree Graduate 25,021 PointsRonald Williams
Java Web Development Techdegree Graduate 25,021 PointsHello, what are the two errors you get?