[Webkit-unassigned] [Bug 39354] New: Broken relative path to java executable in IcedTea plugin
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 19 06:14:43 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=39354
Summary: Broken relative path to java executable in IcedTea
plugin
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: Minor
Priority: P3
Component: Java
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: metamorfeus at gmail.com
When navigating to a page with embedded Java, and you have the IcedTea plugin installed (which you would if you installed OpenJDK), the following error dialog appears (twice):
icedteanp plugin error: Failed to run /usr/lib/mozilla/plugins/../../bin/java. For more detail rerun "firefox -g" in a terminal window.
...while the following is output on standard error (twice):
/builddir/build/BUILD/icedtea6-1.8/plugin/icedteanp/IcedTeaNPPlugin.cc:1508: thread 0x8ec6a38: Error: Failed to spawn applet viewer: Failed to execute child process "/usr/lib/mozilla/plugins/../../bin/java" (No such file or directory)
It's fairly obvious that the plugin is appending the relative path "../../bin/java" to "/usr/lib/mozilla/plugins" (where the plugin is installed). This gives an incorrect absolute path of "/usr/lib/bin/java" (should be "/usr/bin/java")
Workaround:
create a soft link to "/usr/bin" in the "/usr/lib" directory:
(as root)
# cd /usr/lib
# ln -s /usr/bin .
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list