Need some help with Java on Ubuntu?

Here are some tips for getting Sun Microsystem’s Java environment up and running smoothly on Ubuntu.  This includes the JRE (Java Runtime Environment – for running Java apps) and the JDK (Java Development Kit – for creating Java apps).  It’s actually easier than you think!  Basically, add the universe repo and use synaptec.  An added advantage is that you can install updates through there too.