fitzsim at redhat.com
Fri Sep 14 10:26:57 PDT 2007
Matthew Flaschen wrote:
> I use the IcedTea version of gcjwebplugin by symlinking it to my
> ~/.plugins. By default, this will give an error like:
> gcjwebplugin error: Failed to run
> /home/user/IcedTea/hg/../../bin/pluginappletviewer. For more detail
> rerun "firefox -g" in a terminal window.
You're linking to the wrong copy of gcjwebplugin.so. Here's how I install it:
> This is because line 1530 of gcjwebplugin.cc says:
> appletviewer_executable = g_strdup_printf
> As a workaround, I created a bin symlink to
> IcedTea/hg/openjdk/control/build/linux-i586/bin two directories above
> the hg directory (where gcjwebplugin.so is).
> So now, hg/gcjwebplugin.so can find hg/../../bin, which goes to
> But this doesn't make much sense. One option is to hard-code the
> correct path (openjdk/control/build/linux-i586/bin), but that's not a
> good long-term option either. Can someone think of a solution that
> isn't a hack? Perhaps it's time for an install target.
I didn't want to install pluginappletviewer in /usr/bin because it is an
implementation-private binary that normal users shouldn't run. So it won't be
in PATH. The only other way to find it is in a known location, relative to
gcjwebplugin.so, within JAVA_HOME.
More information about the distro-pkg-dev