[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: SWT Browser doesnt load applets in Linux
|
Hi,
This works for me on RHEL4 with the following:
MOZILLA_FIVE_HOME=/usr/lib/firefox-1.0
LD_LIBRARY_PATH=/usr/lib/firefox-1.0 (note that you didn't have this
variable set, perhaps this is the difference)
MOZ_PLUGIN_PATH=~/jre160_04/plugin/i386/ns7
Also note that you shouldn't generally need to set MOZILLA_FIVE_HOME and
LD_LIBRARY_PATH anymore. If there's a xulrunner installed on your machine
then it should be magically detected, and even if there isn't, the eclipse
launcher should detect an available firefox in /usr/lib/firefox-1.5.0.12 and
set MOZILLA_FIVE_HOME and LD_LIBRARY_PATH accordingly. The case where
setting these variables is more common is when running a stand-alone swt app
that doesn't use the eclipse launcher to start, on an old linux that doesn't
ship with xulrunner.
HTH,
Grant
"ratish" <ratish_puduppully@xxxxxxxxx> wrote in message
news:h7q7fi$bsb$1@xxxxxxxxxxxxxxxxxxxx
> I am creating an Eclipse RCP application having embedded SWT Browser
>
> In Windows the application with embedded browser loads applet. I followed
the settings mentioned in http://www.eclipse.org/swt/faq.php#browserapplets
and the settings work perfectly fine.
>
> In Linux, the corresponding settings dont.
>
> The following error is seen on console when trying to load applets:
> LoadPlugin: failed to initialize shared library libXt.so [libXt.so: cannot
open shared object file: No such file or directory]
> LoadPlugin: failed to initialize shared library libXext.so [libXext.so:
cannot open shared object file: No such file or directory]
> LoadPlugin: failed to initialize shared library
/usr/java/jre1.6.0_10/plugin/i386/ns7/libjavaplugin_oji.so
[/usr/java/jre1.6.0_10/plugin/i386/ns7/libjavaplugin_oji.so: undefined
symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE]
>
> Few details of Configuration:
> OS: Red Hat Enterprise Linux 4.6
> Browser: Firefox/1.5.0.12
> Eclipse version: 3.5 Galileo
> JRE version: 1.6 u10
>
> Further details:
> The SWT Browser loads htmls without applets
> When viewing the html with applet on Firefox browser directly, the applets
load
>
> Investigation done:
> As required in http://www.eclipse.org/swt/faq.php#browserapplets I have
set
> MOZ_PLUGIN_PATH to /usr/lib/mozilla/plugins
> MOZILLA_FIVE_HOME to /usr/lib/firefox1.5.0.12
>
> As required in http://plugindoc.mozdev.org/linux.html for detecting
plugins for mozilla, I have made a symbolic link to libjavaplugin_oji.so in
Mozilla Plugins directory. I use the copy located in the plugin/i386/ns7
directory of JRE folder
>
> Any help/ tip provided in solving this issue will be highly appreciated