$ opera -debugjava
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.
(process:5947): GLib-GObject-CRITICAL **: /home/he/Projects/Debian/Packages/pkg-gnome/desktop/experimental/build-area/glib2.0-2.13.5/gobject/gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function
(process:5947): Gtk-CRITICAL **: gtk_clipboard_get_for_display: assertion `GDK_IS_DISPLAY (display)' failed
Adobe FlashPlayer: gtk_clipboard_get(GDK_SELECTION_PRIMARY); failed. Trying to call gtk_init(0,0);
NPN_Invoke toString
opera: [Java] Adding '/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/plugin.jar' to classpath.
NPN_Invoke toString
NPN_Invoke toString
NPN_Invoke toString
opera: Plug-in 5947 is not responding. It will be closed.
opera: Define environment variable OPERA_KEEP_BLOCKED_PLUGIN to keep blocked plug-ins.