Download adobe flash 10 for x64 in tar.gz distribution (can't remember from which url, try googling)
Install Sun's JDK as a default JDK.
For Java plugin/JRE
- going to .mozilla/plugins/
- find the libjavaplugin.so
- using ls -la to see its symbolic link to /etc/alternatives/mozilla-javaplugin.so
- and /etc/alternatives/mozilla-javaplugin.so also a synbolic link to another place, which is IcedTea's JRE
- So we just change /etc/alternatives/mozilla-javaplugin.so point to /usr/lib/jvm/jdk1.6.0_25/jre/lib/amd64/libnpjp2.so
execute at terminal:
sudo apt-get install icedtea-7-plugin
For Adobe Flash
- type about:plugins in the address bar
- find the default Flash plugins remember its path of the .so file
- mine was point to /var/lib/flashplugin-installer/libflashplayer.so
- going there /var/lib/flashplugin-installer/
- rename npwrapper.libflashplayer.so to npwrapper.libflashplayer.so.bak
- put the downloaded libflashplayer.so into this folder
- chmod 777 libflashplayer.so
- restart Firefox
- Bingo!
- check by enter about:plugins in the address bar