How do you install Java on Lubuntu 10.04 ? ?

I've been trying out Lubuntu 10.04 but i haven't been able to find any quick start tutorial on how to install essential programs like java runtime,flash,codecs,etc. i use ubuntu so i was able to get in flash an the codecs (gstreamer) but i need some advice on java.

Thanks in advance