L
L
lotuzakim2020-09-22 17:57:19
Java
lotuzakim, 2020-09-22 17:57:19

Error while running Java program?

5f6a1071d82a5682812933.png5f6a10796c2e4028602790.png
An error occurred while starting the program. There is a screen of environment variables and errors. The code was taken from the tutorial.
The simplest Hello world!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2020-09-22
@lotuzakim

First, java does not accept a file name, but a class name. Second, JAVA_HOME must point to the root of the JDK.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question