If I need to install the latest Java SDK, what apt-get should I install?

2

I'm on Ubuntu Maverick.

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

Alex

Posted 2011-01-31T01:29:23.873

Reputation: 1 751

Answers

0

limc

Posted 2011-01-31T01:29:23.873

Reputation:

3

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.

Andrew

Posted 2011-01-31T01:29:23.873

Reputation: 133

0

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.

bestsss

Posted 2011-01-31T01:29:23.873

Reputation: