Help with the Language Families Project, Step 3

I’ve been stuck on step 3 of the. Language Families Project for DAYS now, and it’s been very aggravating - https://www.codecademy.com/courses/learn-java/projects/java-language-families.

here’s my code (for the Language.java file) below:

public Language(langName. number, regions, order)
{
protected String name;
protected int numSpeakers;
protected String regionsSpoken;
protected String wordOrder;

Language (String whatItIs, int howManySpeakers, String where, String order)
{
name = whatItIs;
numSpeaers = howManySpeakers;
regionsSpoken = where;
wordOrder = order;
}
public getInfo()
{
System.out.println(this.name + " is spoken by "+ this.numSpeakers + " people mainly in "+ this.regionSpoken + “.”);
System.out.println("The language follows the word order: " + this.wordOrder);
}

public void main(args)
{
Language spanish = new Language(“Spanish”, 55500000. “Spain, LatinAmerica and Equatorial Guinea”, “subject-verb-object”);
spanish.getInfo();
}
}

Then my terminal window is:

$ javac Language
error: Class names, ‘Language’, are only accepted if annotation processing is explicitly requested
1 error
So II just don’t understand what I’m doing wrong, can someone help?
Thank you in advance!

Hi! Your code looks great, the issue is actually with your terminal commands. There are two steps to running a Java program from the terminal: compiling and then running. You compile the program first using javac FileName.java and after that compiles properly (without giving you errors), you run the program using java FileName.