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

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.