I have this Java program:
public class third{
public static void main(String[] args) {
int a = 0;
String b = "There " + (a > 1 ? " are " + x + " cookies" : "is one cookie") + " in the jar.";
System.out.println(b);
}
}
But I get this error instead:
"bash: javac: command not found"
Why?