Q:

Installing java SDK in ubuntu 10.10

Possible Duplicate:
How to install Sun JDK on Ubuntu 10.10 “Maverick meerkat”? 

Can any one suggest me how to install java sdk in ubuntu 10.10?

A:

For openjdk, use
aptitude install openjdk-6-jdk

For sun distribution, see: How to install Sun JDK on Ubuntu 10.10 “Maverick meerkat”?

