Installing Java version 7 on a Linux Lubuntu system.
We describe here, in a simple way, how to install Java 7, in a Linux system such as Ubuntu, Lubuntu, Kubuntu.
This post assumes the reader is familiar with Linux.
Technologies we use in this post
- Linux Lubuntu 12.04 (http://lubuntu.net)
Why we are using Lubuntu:
Lubuntu is an Open Source, fast and lightweight operating system, focused on speed and energy-efficiency. The core of the system is based on Linux and Ubuntu. Lubuntu uses the minimal desktop LXDE, and a selection of light applications. Because of this, Lubuntu has very low hardware requirements.
Java 7 Repository: Download and Update
- Add the following repository and update it.
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
Java 7: JDK Installation
- JDK stands for Java Development Kit. It contains the tools needed to create Java programs and comes with JRE, The Java Runtime Environment.
sudo apt-get install oracle-jdk7-installer
Check Java 7 Installation
Java 6: JDK/JRE Installation
- But, if for some reason you still continue need to use Java version 6, it is available now from webupd8team repository. You can simply install oracle java 6 with:
sudo apt-get install oracle-java6-installer
And that’s it! We have installed Java 7 using Linux Lubuntu in this case.