首先安装Oralce JDK,这个不再细说,然后请看下面的文章: http://www.wikihow.com/Enable-Oracle-Java-in-Your-Web-Browsers-on-Ubuntu-Linux