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

Conteúdo do Curso

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?

Selecione a resposta correta

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"?

Selecione algumas respostas corretas

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 1
We're sorry to hear that something went wrong. What happened?
some-alt