The first thing to keep in mind is that Debian tries with all its might to remain free and open. In that regard, it resists including proprietary packages - even popular ones - in its main repositories.
So to give debian access to everything, you need to edit your
/etc/apt/source.list
use the following command in vi to include the contrib and non-free packages in your configured repositories:
:%s/main/main contrib non-free/g
:wq
For the sake of being thorough, run
# apt-get update
then
# apt-get install sun-java6-jdk
Answer in the affirmative to the various prompts.
When you're complete, adjust your alternatives like so:
#update-java-alternatives -s java-6-sun
et voila
No comments:
Post a Comment