Dear all,
i am facing a peculiar problem as --
i am trying to open a website <www.besindia.com> using opera browser
(opera 7.22 also tried with opera 7.54) on redhat 9, for this it
requires application/x-java_vm to show the running BSE figures, i
installed j2re-1.4.2-05 and did as per the messages/info from net i.e.
ln -sf
/usr/java/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
/usr/lib/opera/plugins/
now this site did accepted it but said(message) "applet crashes" and
trying to debug it has given me ...
[EMAIL PROTECTED] bimal]$ opera --debugjava --debugplugin &
opera: [java] There seems to be a preloaded version of Xt.
There is a workaround for this problem in the opera
startup script. If that workaround fails, opera will
most likely crash every time it tries to use Java.
The workaround seems to be working.
Technical explanation:
There is a problem with the order of loading Xt and
Java. If Xt is loaded before libawt (part of Java),
Java will crash when it tries to access the screen.
The workaround is based on using LD_PRELOAD to load
libawt.so first.
opera: [java] The Java enable flag will not be reset
because the OPERA_FORCE_JAVA_ENABLED environment
variable has been defined.
opera: [plugin probing] /usr/lib/opera/plugins/libnpp.so
opera: [plugin failed ] /usr/lib/opera/plugins/libjavaplugin_oji.so,
/usr/lib/opera/plugins/libjavaplugin_oji.so: undefined symbol:
PR_EnterMonitor
opera: [plugin probing] /usr/local/Acrobat5/Browsers/intellinux/nppdf.so
opera: [plugin banned ] /usr/local/netscape/plugins/libnullplugin.so
opera: [plugin probing] /usr/local/netscape/plugins/libflashplayer.so
opera: [plugin failed ]
/usr/java/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so,
/usr/java/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so:
undefined symbol: PR_EnterMonitor
opera: /usr/lib/opera/plugins/libjavaplugin_oji.so: undefined symbol:
PR_EnterMonitor
opera: Could not initialize spell checker interface. File not found or
could not be opened (-7)
so again i reverted back to net, found that libawt.so should be read
before java so tried
export OPERA_JAVA_DIR=/usr/java/j2re1.4.2_06/lib/i386/
export LD_PRELOAD=${OPERA_JAVA_DIR}/libawt.so
export LD_LIBRARY_PATH=${OPERA_JAVA_DIR}:${OPERA_JAVA_DIR}/client/
export OPERA_FORCE_JAVA_ENABLED=1
in /usr/bin/opera, but am still....
has anyone tried/used/done this??
need your valuable inputs.
regards
bimal pandit
_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[email protected]/