R
R
Rex Veis2018-01-31 22:03:05
Java
Rex Veis, 2018-01-31 22:03:05

Java on mac lags and does not start, what should I do?

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

I wrote the simplest program, saved the project in .java format via Brackets
But it does not run through all jdk and java programs, and also gives an error through the terminal !!! 5a72129f784e4595236795.png
Then I opened the settings, on the Java item it says EXPECT THE PANEL
The panel has opened, and this ****** is waiting for me like this: 5a7212d8785a7355645648.png
What to do now - I don’t have to.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2018-01-31
@Patrik0anonymus

What to do now - I don't know.

Take textbook.
$ javac Untitled-1.java
$ java HelloWorld

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question