You are not logged in.
$ opera -debugjava
opera: X Shared memory extension is not available. ZPixmap not supported
opera: [java] There seems to be a preloaded version of Xt.
There are workarounds 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.
GCJ PLUGIN: thread 0x628ce0: NP_GetValue
GCJ PLUGIN: thread 0x628ce0: NP_GetValue: returning plugin name.
GCJ PLUGIN: thread 0x628ce0: NP_GetValue return
GCJ PLUGIN: thread 0x628ce0: NP_GetMIMEDescription
GCJ PLUGIN: thread 0x628ce0: NP_GetMIMEDescription return
GCJ PLUGIN: thread 0x628ce0: NP_GetValue
GCJ PLUGIN: thread 0x628ce0: NP_GetValue: returning plugin name.
GCJ PLUGIN: thread 0x628ce0: NP_GetValue return
GCJ PLUGIN: thread 0x628ce0: NP_GetValue
GCJ PLUGIN: thread 0x628ce0: NP_GetValue: returning plugin description.
GCJ PLUGIN: thread 0x628ce0: NP_GetValue return
opera: libjvm.so: cannot open shared object file: No such file or directory
$ locate libjvm.so
/usr/lib/jvm/java-1.6.0-openjdk/jre/lib/amd64/server/libjvm.so
Why is opera not finding the specified lib. I have tried to add the dir location to Open Dir. variable in about:config as well.
Offline
I fixed the libjvm.so problem.
export LD_LIBRARY_PATH=/usr/lib/jvm/java-1.6.0-openjdk/jre/lib/amd64/server/
opera recognizes now that jre is installed, but it does not work. Opera just tries to load the java applet forever, no errors, no crashes, no nothing. Gets stuck on loading 24/25 elements.
if I do as opera says and use LD_PRELOAD to load libawt.so first, ld.so just complains that the "object cannot be preloaded: ignored"
Offline