2. Download sun-java6-jre, sun-java6-plugin and sun-java6-fonts.
3. Set your system to use the Sun Java JRE and Dev packages as the default by typing into a console:
sudo update-java-alternatives --set java-6-sun
sudo update-java-alternatives --set java-6-sun
ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.To fix this, correct the Java path under Tools -> Preferences -> Advanced Tab -> Content -> Java options. It should look similar to this:
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/i386/Check your installed Java pathways and change accordingly.
sudo apt-get install flashplugin-nonfree
sudo apt-get install sun-java6-jre sun-java6-plugin
sudo update-alternatives --config java