Java virtual machine
Java virtual machine is a cross-platform interpreter for Java binary code, compiled Java source code or Java bytecode. It is the key requirement for any Java software to work.
There are two main Java distribution forms:
- Java Runtime Environment (JRE): Required to run any Java software on a system
- Java Development Kit (JDK): Includes JRE and additional tools for development
To install it, follow the instructions given below.
Oracle JDK 1.7
-
Debian-based Linux as root
# add-apt-repository ppa:webupd8team/java # apt-get update # apt-get install oracle-java7-installer # update-alternatives --config java
-
RPM-based Linux (download Oracle JDK 1.7) as root
# rpm -ivh jdk-7u<version>-linux-<architecture>.rpm # update-alternatives --config java
-
Windows
- download Oracle JDK 1.7
- execute downloaded file