I'm on Ubuntu Maverick.

There are too many packages when I run apt-cache search java.

link|improve this question

74% accept rate
feedback

migrated from stackoverflow.com Jan 31 '11 at 14:54

This question came from our site for professional and enthusiast programmers.

3 Answers

up vote 0 down vote accepted

I did this to install mine: http://happy-coding.com/install-sun-java6-jdk-on-ubuntu-10-04-lucid/

link|improve this answer
feedback

This should be on askubuntu.com, but to save you some time:

sudo apt-get install sun-java6-jdk

I think that's right. It'll install the extra packages you need, iirc.

link|improve this answer
feedback

I always download the bin from the sun/oracle site and run it. I then use update-alternatives a few times and that is all it takes.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.