JDK install On Ubuntu 10.10
Face any problem to install sun-java sdk on ubuntu 10.10 or any other version. This is for you.. Hope this may help you to resolve your problem.
Lets start, what we are doing? We are trying to install sun-java-sdk on ubuntu. At first you have to see , have any source package list added on /etc/apt/sources.list.If not so , you have to add source package list on /etc/apt/sources.list. To do so give the following command from your terminal.
Now you add another source list by following command from terminal.
sudo add-apt-repository ppa:sun-java-community-team/sun-java6
sudo apt-get update
Now your computer is ready for install java-sdk6. For install give the following command from command prompt . this may require your root password if you don't have administrative privilege.
After fixing broken package try to install sun-java6 again. If again you facing problem then try it another way. In this way goto System->Administration->Synaptic Package Manager
Search JDK from Quick Search and Mark for Installation on sun-java-jdk, sun-java-jre, sun-java-bin. and then apply.
I hope in this step you have no trouble to do it.
Face any problem to install sun-java sdk on ubuntu 10.10 or any other version. This is for you.. Hope this may help you to resolve your problem.
Lets start, what we are doing? We are trying to install sun-java-sdk on ubuntu. At first you have to see , have any source package list added on
sudo gedit /etc/apt/sources.list.d/sun-java-community-team-sun-java6-maverick.list
Add following two lines
deb http://ppa.launchpad.net/sun-java-community-team/sun-java6/ubuntu maverick main
deb-src http://ppa.launchpad.net/sun-java-community-team/sun-java6/ubuntu maverick main
Add following two lines
deb http://ppa.launchpad.net/sun-java-community-team/sun-java6/ubuntu maverick main
deb-src http://ppa.launchpad.net/sun-java-community-team/sun-java6/ubuntu maverick main
Now you add another source list by following command from terminal.
sudo add-apt-repository ppa:sun-java-community-team/sun-java6
You have to update your computer by following command
sudo apt-get update
Now your computer is ready for install java-sdk6. For install give the following command from command prompt . this may require your root password if you don't have administrative privilege.
sudo apt-get install sun-java6
This will install sun-java6 on your system. If face any problem try to fix broken package by command dpkg -iAfter fixing broken package try to install sun-java6 again. If again you facing problem then try it another way. In this way goto System->Administration->Synaptic Package Manager
Search JDK from Quick Search and Mark for Installation on sun-java-jdk, sun-java-jre, sun-java-bin. and then apply.
I hope in this step you have no trouble to do it.
Thx a lot! It worked fine, only that I did have to do the following modification:
ReplyDeletesudo apt-get install sun-java6*
Greetings