This article will show you how to install Java Runtime Environment on Ubuntu, Debian based distros, or Fedora, Oracle Linux, Red Hat Enterprise Linux.
What is Java?
Java allows you to play online games, chat with people around the world, calculate your mortgage interest, and view images in 3D, just to name a few. It’s also integral to the intranet applications and other e-business solutions that are the foundation of corporate computing.
To intall Java Runtime Environment on Debian, Ubuntu, etc.
# apt-get install openjdk-7-jre
To intall package to developing programs using Java on Debian, Ubuntu, etc.
# apt-get install openjdk-7-jdk
To install Java Runtime Environment on Fedora, Oracle Linux, Red Hat Enterprise Linux, etc.
# yum install java-1.7.0-openjdk
To intall package to developing programs using Java on Fedora, Oracle Linux, Red Hat Enterprise Linux, etc.
# yum install java-1.7.0-openjdk-devel