Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 498512

Summary: Chromiun needs Symbolic Link to Java in NSplugin Directory
Product: Gentoo Linux Reporter: Carter Young <ecyoung>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED CANTFIX    
Severity: normal CC: chromium
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Carter Young 2014-01-19 02:32:30 UTC
Some sites, like Pogo will not load Java Applets if the plugin does not exist in the /usr/lib/nsbrowser/plugin directory.  A simple fix for this is to create a symbolic link in usr/lib/nsbrowser/plugin to opt/oracle-jre-bin-<version>/lib/amd64/libnpjp2.so.  The only issue that arises is that the Java Plugin is now listed twice in the Chrome:plugins section.  Would someone in the Chromium Project please consider fixing this issue, as I'd like to get away from Mozilla, now that flash isn't supported by Adobe > 11.2
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-19 14:40:40 UTC
Emerge dev-java/oracle-jre-bin with USE=nsplugin.
Comment 2 Carter Young 2014-01-19 19:58:42 UTC
I have emerged oracle-jre-bin with nsplugin.  Pogo refuses to use javaplugin.so in conjuction with Chromium, and Chromium won't load the java apps properly because its looking for libnpjp2.so, although the test passes on the java site

Steps to reproduce:
1. Create an account at pogo.com.
2. Try playing 1st Class Solitaire from Chromium -- should fail after 2 minutes
3. Apply the fix mentiooned in comment 1 and try again

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   Rf  ~] dev-java/oracle-jre-bin-1.7.0.51:1.7  USE="X alsa fontconfig nsplugin -jce -pax_kernel" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Fetch Restriction: 1 package

Would you like to merge these packages? [Yes/No] 


eselect java-nsplugin list
Available 32-bit Java browser plugins
  [1]   emul-linux-x86-java-1.6  current
Available 64-bit Java browser plugins
  [1]   icedtea-bin-6 
  [2]   icedtea-web@icedtea-bin-6 
  [3]   icedtea-web@icedtea-bin-7 
  [4]   oracle-jdk-bin-1.7 
  [5]   oracle-jre-bin-1.7  current
Comment 3 Ralph Sennhauser (RETIRED) gentoo-dev 2014-01-20 07:55:12 UTC
Where do you have got this from, libnpjp2.so in usr/lib/nsbrowser/plugin? Well, it's plausible as the upstream plugin name is libnpjp2.so this days but firefox is using /usr/lib/nsbrowser/plugins/javaplugin.so for a decade.
Comment 4 Ralph Sennhauser (RETIRED) gentoo-dev 2014-01-20 07:57:28 UTC
We would have to fix eselect java-nsplugin if this is where chromium wants the plugin in future.
Comment 5 Oleh 2014-11-02 14:06:25 UTC
any updates on this?
Comment 6 Mike Gilbert gentoo-dev 2014-11-02 15:44:35 UTC
Support for NPAPI plugins was removed in chromium-35. It really doesn't matter where you put the symlinks; chromium won't use them.