April 12, 2013

Chrome Java plugin

On my ubuntu box, there are two versions of JDK installed: OpenJDK and Sun JDK.

The latest version OpenJDK I can get now is openjdk-7-jdk.


root> java -version
java version "1.7.0_15" 
OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.04.1)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

With OpenJDK, you can install package “icedtea-7-plugin” to install the java plugin for Chrome. You can go “http://www.java.com/” and click “Do I have Java” to verify the Java version. The verification page display a blank page even after I accepted the security warning. However, I can succesfully verify in http://javatester.org/enabled.html
Somehow, the IcedTea crashed often.

I downloaded the binary version of Sun JDK and installed the software by unzip the binaries:


root>  java -version
java version "1.7.0_17" 
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

To make Chrome use the jre plugins:


cd ~/.mozilla/plugins
 ln -s /apps/jdk1.7.0_17/jre/lib/amd64/libnpjp2.so

Go “http://www.java.com/” and click “Do I have Java” to verify the java successfully.

Type “chrome://plugins” in the address bar, you can see both “IcedTea-Web Plugin” and “Java™ – Version: 1.7.0_17” are enabled. The latter takes precedence.

You can also use http://www.java.com/en/download/testjava.jsp to test the Java plugin.

In the end, I chose to use OpenJDK + IcedTea. Don’t want to manually download and install Sun JDK every time I need to upgrade.


- No comments Not publicly viewable


Add a comment

You are not allowed to comment on this entry as it has restricted commenting permissions.

Search this blog

Search Warwick Blogs

 

Tags

Most recent comments

  • Oracle 11g is the clear leader in this area. Oracle has invested heavily into self–tuning capabiliti… by shaane on this entry
  • All the features are very nice.I like Repair Advisors the most.Oracle 10G introduced some of the dat… by lucy on this entry
  • "logical standby failed to re–start, I am also getting the same error. I have search on internet and… by anemia on this entry
  • Thanks for the nice information because from last three days i am stuck on this problem…. by robot vacuum on this entry
  • So what happen City speed dating when you tried this coding once in your PC.. Please tell me so i am… by John Bergeron on this entry
Not signed in
Sign in

Powered by BlogBuilder
© MMXXII