Install Java 7 in Crunchbang 11 ‘Waldorf’

Hello Guys,

You Just installed Crunchbang and need to install some applications that require Java to operate. In this tutorial we will show you how to install Java 7. This tutorial also assumes you have no previous version of Java installed. We are going to install Java 7 by creating a local ‘apt’ repository for Oracle Java 7 packages.

Open Terminal,

Run the command below to download the script that will help us in this installation.

$ wget -O


After script has been downloaded, run the command below to make it executable:

$ chmod +x

Now execute script:

$ sudo ./ -7


Next run the command below to install oracle-java7-jre.

$ sudo apt-get install oracle-java7-jre

To install oracle-java7-jre, oracle-java7-jdk, oracle-java7-plugin and oracle-java7-fonts,

Run the command below:

$ sudo apt-get install oracle-java7-jre oracle-java7-jdk oracle-java7-plugin oracle-java7-fonts

If you are behind a proxy you may need to run using:

$ sudo -i ./

If you want to see what this script is doing while it is running then execute the following from another shell:

$ tail -f ./


After Java have successfully been installed. Check from terminal