Installing Java on your system in 5 minutes...To read click on Read more below .......

Hi Every one ,

Welcome to my blog Java Learning which will teach you how to learn java .

What is Java ?

Java is a general-purpose programming language that is class-based, object-oriented, and designed to have as few implementation dependencies as possible. It is intended to let application developers write once, run anywhere (WORA),[17] meaning that compiled Java code can run on all platforms that support Java without the need for recompilation.[18] Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of the underlying computer architecture. The syntax of Java is similar to C and C++, but it has fewer low-level facilities than either of them. As of 2019, Java was one of the most popular programming languages in use according to GitHub,[19][20] particularly for client-server web applications, with a reported 9 million developers.[21


How to install java in 5 minutes ?


Follow these steps to install Java on Windows (32 or 64 Bits)

  • Step 1 – Download the JDK Java 8 from

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Click on the links for Windows 32 Bit or Windows 64 Bit as required.

Download JDK

  • Step 2 – Click on .exe file, and run it. Then, follow the instructions to download it. Once it is installed, you will have to do the setup for the environment variable.

Step.1 Install Java in Windows 8

  • Step 3 – After this, you need to go to the Control Panel > System and Security > System. Under the option Advanced System Settings, we need to click on Environment variables.
  • Step 4 – Now under the System variables, we need to alter the “path” so that path for Java is also added to it and click on the Edit button.
  • Step 5 – You will need to add a path where the downloaded file is stored and then click ‘ok’.

Do you know what are the career opportunities of Java Developers?

Step 5. Install Java 8 For Windows

  • Step 6 – Save the settings and you are done.
  • Step 7 –  To learn more about it, click on the option ‘Next Steps’ and it will take you to the website.

Step 7. Install Java 8 For Windows



In Linux?


There are many ways to install Java on Linux, but we will go with the easiest way which is by using the terminal. OpenJDK is a free and open-source implementation of Java.

These are the steps to install Java-

  1. We need to install OpenJDK.
  2. In the second step, we will go to Application > Accessories > Terminal.
  3. Then we will need to type the command- sudo apt-get install openjdk-8-jdk
  4. In case of “JAVA_HOME” (Environment Variable), type this command in the terminal – export JAVA_HOME = /usr/lib/jvm/java-8-openjdk
  5. In the case of “PATH” (Environment Value), type this command – export PATH = $PATH:/usr/lib/jvm/java-8-openjdk/bin
  6. You are done

Comments