Install Sun Java 7.x on Debian Squeeze Rumi, June 8, 2014 It might look weird to install Sun Java from a Ubuntu Repo- however it works at least it worked for my installation- $ su root # echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" > /etc/apt/sources.list.d/webupd8team-java.list # echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" >> /etc/apt/sources.list.d/webupd8team-java.list # apt-key adv –keyserver keyserver.ubuntu.com –recv-keys EEA14886 # apt-get update # apt-get install oracle-java7-installer # java -version java version "1.7.0_17" Java(TM) SE Runtime Environment (build 1.7.0_17-b02) Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode) # exit $ Administrations Configurations (Linux) DebianJavaOracleSqueezeSun