Taken from
the Gentoo blog and translated.
Running the Opera browser in a 64-bit Java-enabled assembly turned out to be quite simple.
First, make sure you have the latest sun-jdk: for example, dev-java / sun-jdk-1.6.0.16. Next, create a symlink:
cd /opt/sun-jdk-1.6.0.16/jre/lib/amd64/
Most likely, Opera, by default, bypasses the plugin and uses Java directly. Therefore, you need a symlink with libjvm.so so for Opera to find it:
ln -s server/libjvm.so .
In the Java settings, specify the path
/opt/sun-jdk-1.6.0.16/jre/lib/amd64/
and restart the browser (Tools -> Advanced -> Content). Check on the
test page .
')
PS Everything worked for me.