How To Install Jdk 1.6 Update 32 On Ubuntu 11.10

Currently Oracle prohibit the community from adding coffee to the linux repositories. So it needed to hold upward manually download from oracle website as well as installed.

Java tin hold upward downloaded from:
From: http://www.devsniper.com/ubuntu-12-04-install-sun-jdk-6-7/

Steps to install java:
1.) Make the bin file executable:
chmod +x jdk-6u32-linux-x64.bin 
2.) Extract the bin file:
./jdk-6u32-linux-x64.bin 
3.) Move extracted folder:
sudo mv jdk1.6.0_32 /usr/lib/jvm/ 
4.) Install novel coffee root inward system:
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_32/bin/javac i sudo update-alternatives --install /usr/bin/java coffee /usr/lib/jvm/jdk1.6.0_32/bin/java i sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.0_32/bin/javaws i 
5.) Choose default java:
sudo update-alternatives --config javac sudo update-alternatives --config coffee sudo update-alternatives --config javaws coffee version test: coffee -version 
6.) Verify the symlinks all signal to the novel coffee location:
ls -la /etc/alternatives/java* 
Next
Previous
Click here for Comments

0 komentar:

Please comment if there are any that need to be asked.