Java 7: simple installation on Linux Lubuntu

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 (
    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

  1. Add the following repository and update it.
  2. sudo add-apt-repository ppa:webupd8team/java
  3. 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

  1. java -version
  2. javac -version

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.


Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do

Você está comentando utilizando sua conta Sair /  Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair /  Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair /  Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair /  Alterar )


Conectando a %s