Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Installing Java | How to Work With IDE?
Java OOP
course content

Зміст курсу

Java OOP

Java OOP

1. How to Work With IDE?
2. OOP
3. Interface

bookInstalling Java

How to install Java?

  • There are links for downloading Java: MacOS, Windows;
  • After downloading the file, open it, and you will be greeted by the Java installer. Go through the installer, and you can read the details if you want. After that, the installer will notify you that Java will take up some space on your device. Click the "Install" button with confidence and wait for the installer to finish its work. Congratulations, Java is now installed on your device!

How to check the Java version installed on your device?

  • Open the terminal on macOS (type terminal in Launchpad search) or open the Developer Command Prompt on Windows (press Win + R and type cmd in the appeared window). Then, enter the command: java -version. As a result, you should see something like this on the console screen:

If the Java version is displayed in the console, it means you have successfully installed it.

What to do if the Java version is not displayed:

  1. Reboot your device and then try entering the command java -version again;
  2. Try entering the command java -help. If the terminal says that such a command does not exist, proceed to the next step;
  3. You will need to reinstall Java using the installer once again. To do this, repeat all the instructions above.
1. How can you check the Java version installed on your device?
2. What should you do if the Java version is not displayed when you run "java -version"?
How can you check the Java version installed on your device?

How can you check the Java version installed on your device?

Виберіть правильну відповідь

What should you do if the Java version is not displayed when you run "java -version"?

What should you do if the Java version is not displayed when you run "java -version"?

Виберіть кілька правильних відповідей

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 1
some-alt