Java on the mac sucks and will not start, what to do?

class HelloWorld {
 public static void main(String[] args) {
 System.out.println("Hello World!");
}
}

Wrote a very simple program that is preserved through the Brackets project format .java
But does not run through all of the jdk and java, and also through the terminal it gives an error!!! 5a72129f784e4595236795.png
Then opened the settings on the paragraph written in Java EXPECT the PANEL
Open the panel, and such ****** so I expect : 5a7212d8785a7355645648.png
What to do now - nezanu.
June 8th 19 at 17:16
1 answer
June 8th 19 at 17:18
What to do now - nezanu.

To take the tutorial.

$ javac Untitled-1.java
$ java HelloWorld

Find more questions by tags JavamacOS