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 trialChristopher Sullivan
4,230 PointsConsole question
Hello,
When putting my code into the console I am getting the following: Please not that the information from the Source Code is the same as the prompt.
"bash: java.Introductions: command not found
treehouse:~/workspace$ java Introductions
Picked up JAVA_TOOL_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m
treehouse:~/workspace$ Introductions.java
bash: Introductions.java: command not found
treehouse:~/workspace$ Introductions java
bash: Introductions: command not found
"
Should I instead be changing the source code?
4 Answers
Amulya Arora
6,133 Pointsyou need to type: javac Introductions.java and then java Introductions
Moderator Edit: Moved response from Comments section to Answers!
Amulya Arora
6,133 Pointsthen you should report is as a bug
Christopher Sullivan
4,230 PointsGotcha thank you
Amulya Arora
6,133 Pointsps. Best answer me , please
Christopher Sullivan
4,230 PointsWhen I put javac Introductions.java then java Introductions, I am still receiving the same output.
Christopher Sullivan
4,230 PointsChristopher Sullivan
4,230 PointsI am still on the Hello, world portion of the tutorials. I am trying to output "Hello, my name is craig"