Manually install Java1.6.0 _ 31 under Ubuntu12.04. Download jre-6u31-linux-i586.binat http://www.java.com/zh_cn/download. The installation method is as follows: # sudomkdir/usr/lib/jvm # chmod + x ~ /Download/jre-6u31-linux-i586.bin #~ /Download/jre-6u31-linux-
Manually install Java1.6.0 _ 31 in Ubuntu 12.04 and download it to the http://www.java.com/zh_CN/download/ version in the jre-6u31-linux-i586.bin. The installation method is as follows:
# Sudo mkdir/usr/lib/jvm
# Chmod + x ~ /Download/jre-6u31-linux-i586.bin
#~ /Download/jre-6u31-linux-i586.bin (generate jre1.6.0 _ 31 directory)
# Sudo mv ~ /Download/jre1.6.0 _ 31/usr/lib/jvm/
# Sudo ln-s/usr/lib/jvm/jre1.6.0 _ 31 // usr/lib/jvm/java-6-sun/
# Sudo ln-s/usr/lib/jvm/java-6-sun/lib/i386/libnpjp2.so/usr/lib/firefox-11.0/plugins
Turn it off and re-open firefox, and add "about: plugins" to the URL bar to see the figure of java.
If you want to get rid of java Garbled text, you just need to modify it.
# Gedit ~ /. Java/deployment. properties
Change the last line to deployment. javaws. jre.0.args =-Dfile. encoding \ = Big5
Then you can see the normal text.
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2