Chrome in ubuntu does not have a java Plug-in by default. You need to download it from the Internet.
First download jdk or jre: http://www.oracle.com/technetwork/java/javase/downloads/index.html from the Internet
Download the package, decompress it, and configure the plug-in according to the command:
After the configuration is complete, you can refresh chrome to display java.
Reference: http://www.wikihow.com/Enable-Oracle-Java-in-Your-Web-Browsers-on-Ubuntu-Linux
- Type/Copy/Paste: sudo mkdir/opt/google/chrome/plugins
- This will create a directory called/opt/google/chrome/plugins
- Type/Paste/Copy: cd/opt/google/chrome/plugins
- This will change you into the google chrome plugins directory, make sure you are in this directory before you make the symbolic link
- Type/Paste/Copy: sudo ln-s/usr/local/java/jre1.7.0 _ 21/lib/i386/libnpjp2.so
- This will create a symbolic link from the Java JRE (Java Runtime Environment) plugin libnpjp2.so to your Google Chrome web browser