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 trial

Android

Having trouble with tutorial 1 seems to all be working until I get to Java Introductions and then it reads error??

Having trouble with tutorial 1 seems to all be working until I get to Java Introductions and then it reads error: Could not find or load main class introduction. The first part reads

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 Elisha"); } }

and the console bit reads: javac Introductions.java ls java Introduction (this is where the error is?) the error reads "Error: could not find or load the main class introduction.

How can I fix this? Sorry I have no programming experience

Do you have introduction written in lower case? It should be upper case. Not sure if that's your problem..

tried in lower case "i" and upper case "i" still coming up as the same error :/

1 Answer

instead of "Introduction" put "Introductions".