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

Bug 30577

Summary: java-config should control browser plugin selection, not ebuilds
Product: Gentoo Linux Reporter: splite <splite-gentoo>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 31468    

Description splite 2003-10-07 08:30:42 UTC
JRE/JDK ebuilds currently install their own symlinks in
/usr/lib/nsbrowser/plugins.  Installing ibm-jdk after blackdown-jdk results in
two Java browser plugins, javaplugin_oji.so and libjavaplugin_oji.so.  IBM's
libjavaplugin_oji.so doesn't initialize, presumably because the environment is
still set for Blackdown.  (Even if it did work, running two Java plugins
simultaneously is of dubious value.)  IMO, java-config --set-system-vm should
control which browser plugin is used, not the ebuilds.  There is already
(undocumented) code in java-config for displaying plugin info; perhaps that
could be expanded to also control the plugins.

Reproducible: Always
Steps to Reproduce:
1. install blackdown-jdk
2. install ibm-jdk
3. run "mozilla about:plugins"

Actual Results:  
% mozilla about:plugins
LoadPlugin: failed to initialize shared library
/usr/opt/ibm-jdk-1.4.1/jre/bin/libjavaplugin_oji.so
[/usr/opt/ibm-jdk-1.4.1/jre/bin/libjavaplugin_oji.so: undefined symbol:
GetGlobalServiceManager__16nsServiceManagerPP17nsIServiceManager]
LoadPlugin: failed to initialize shared library
/usr/opt/ibm-jdk-1.4.1/jre/bin/libjavaplugin_oji.so
[/usr/opt/ibm-jdk-1.4.1/jre/bin/libjavaplugin_oji.so: undefined symbol:
GetGlobalServiceManager__16nsServiceManagerPP17nsIServiceManager]
LoadPlugin: failed to initialize shared library
/usr/opt/ibm-jdk-1.4.1/jre/bin/libjavaplugin_oji.so
[/usr/opt/ibm-jdk-1.4.1/jre/bin/libjavaplugin_oji.so: undefined symbol:
GetGlobalServiceManager__16nsServiceManagerPP17nsIServiceManager]
LoadPlugin: failed to initialize shared library
/usr/opt/ibm-jdk-1.4.1/jre/bin/libjavaplugin_oji.so
[/usr/opt/ibm-jdk-1.4.1/jre/bin/libjavaplugin_oji.so: undefined symbol:
GetGlobalServiceManager__16nsServiceManagerPP17nsIServiceManager]


Expected Results:  
It shouldn't have installed the symlink in /usr/lib/nsbrowser/plugins in the
first place.
Comment 1 Adrian Almenar 2003-11-08 07:39:33 UTC

*** This bug has been marked as a duplicate of 22395 ***