I was starting to learn Java. I followed the tutorial on how to install it. I also checked by typing \"javac\"(without the quotation marks) in cmd if it works. And yes it gives
You have a typo in your call. Change
System.out.printIn("hello youtube"); // capital 'I'
to
System.out.println("hello youtube"); // lowercase 'l'
And as has been mentioned already, in Java, the public class in a file must match the filename.
public