Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30577 - java-config should control browser plugin selection, not ebuilds
Summary: java-config should control browser plugin selection, not ebuilds
Status: RESOLVED DUPLICATE of bug 22395
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 31468
  Show dependency tree
 
Reported: 2003-10-07 08:30 UTC by splite
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***