Установка jdk-7u3-linux-i586 на ubuntu-11.10-desktop-i386

tar -xvf jdk-7u3-linux-i586.tar.gz 

sudo mv ./jdk1.7.0_03 /usr/lib/jvm/jdk1.7.0

sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0/bin/java" 1
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.7.0/bin/javac" 1
sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.7.0/bin/javaws" 1


sudo update-alternatives --config java

java -version

sudo update-alternatives --config javac
sudo update-alternatives --config javaws


ln -s /usr/lib/jvm/jdk1.7.0/jre/lib/i386/libnpjp2.so ~/.mozilla/plugins/


--