Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java Java Basics Getting Started with Java Strings and Variables

Cameren Newkirk
Cameren Newkirk
1,271 Points

I'm getting errors in the console in the work space when the code looks exactly the same in the video

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 cameren");
  console.printf("Cameren is learning how to write java");

} }

the error reads: treehouse:~/workspace$ javac Introdutions.java
javac: file not found: Introdutions.java
Usage: javac <options> <source files>
use -help for a list of possible options
treehouse:~/workspace$ java Introductions
Error: Could not find or load main class Introductions

3 Answers

Plamen Neshkov
Plamen Neshkov
18,236 Points

You have a typo, use javac Introductions.java instead of javac Introdutions.java

dont forget to mention a capital i in introductions.java

What's the difference in your response? I'm completely confuseD.

J.D. Sandifer
J.D. Sandifer
18,813 Points

You were missing the "c" in Introductions.java.