Installing Java
Here you are with your computer and you can’t wait to start writing Java applications. But first, you need to get yourself a JDK and install it. For this, you need an Internet connection to https://www.oracle.com/in/java/technologies/javase-downloads.html.
and download the java in laoptop or pc.