Ubuntu How-to => Flash and Java
Many of the websites today require flash/java to view their content. However since they are not open source, they're not bundled in the default installation.
To install them first enable the requisite repos. (Read more about it in #-Link-Snipped-#)
NOTE: Whatever you see in bold is keyboard input
1. Press alt + F2 then type gnome-terminal (in case you use GNOME) or konsole (in case you use KDE) to fire up your terminal window.
2. Switch to the super user. Type sudo -i and when prompted, give your password.
WARNING - Working in the superuser mode is dangerous and not recommended unless you know what you're doing. Exit the superuser mode immediately after you have performed the installation. Type exit to quit the super user mode and return to your normal user login.
3. Type apt-get update (This will update your repository list.)
4. Type apt-get install adobe-flashplugin sun-java6-jre sun-java6-plugin sun-java6-fonts
If you use Ubuntu 7.10 or something older than that omit the adobe-flashplugin. Instead download the player directly from #-Link-Snipped-#.
5. After the installation is over, type
apt-get update
apt-get upgrade
That's it you're all set to watch videos on Youtube or play games on miniclip!!