Just installed Ubuntu 8.10 on virtual box today and the first thing was i wanted to get connected to my office’s VPN. It runs on some java client so i need to install one for my new Ubuntu box. I found tutorials which were really complicated but then realized that you can simply install JRE or JDK by a single command as follows
sudo apt-get install sun-java6-jdk //for jdk
sudo apt-get install sun-java6-jre //for jre
Hope this helps. The install time varies from machine to machine and depending on your internet speed.