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 trialnaman tiwari
773 Pointsmy program isn't running.
i followed the given instruction but couldn't able to run the program.need help
3 Answers
Jessica Delmoral
3,531 PointsPlease verify the following points:
Did you save the file before running? To save click the buttons: CTRL+S
Did you type "javac Introductions.java" in the Console followed by typing "java Introductions"
If none of this works, can you post here what appears in the Console after you try to run it (with the intrictions in point 2.)?
abdi ali
Courses Plus Student 530 Pointsyou can post your code too see what is wrong
naman tiwari
773 Pointsthank you adbi ali, i have found where i had done wrong.
johnamann
14,064 PointsI had the same problem. Make sure to save the console.printf command in workspace, i.e. the text editor, before running javac in the console.
PS. I noticed that Introductions.class was not listed in the file tree in the workspace uploaded from the video link, instead choose the link beneath the course description, which did have it in the file tree.
Gabriel Marmitt Linassi
Courses Plus Student 314 PointsGabriel Marmitt Linassi
Courses Plus Student 314 PointsThank you, Jessica. Your Post helped me to solve my problem that was happening because I haven't saved the file before running.