Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251300 - sun-jdk does not install the /opt/sun-jdk-xxxx/jre/lib/amd64/client folder
Summary: sun-jdk does not install the /opt/sun-jdk-xxxx/jre/lib/amd64/client folder
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-17 10:51 UTC by urcindalo
Modified: 2008-12-17 13:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description urcindalo 2008-12-17 10:51:33 UTC
When configuring x68_64 Opera to work with java, I pointed it to /opt/sun-jdk-1.6.0.11/jre/lib/amd64, which was accepted as a valid JAVA path. However, after quitting and restarting opera, I see this:
=====
opera: [java] Disabling java due to potential problems. If you know
       what you are doing, you can set the environment variable
       OPERA_FORCE_JAVA_ENABLED to '1' to override this.
       Start Opera with '-debugjava' argument for more information.

[...]
opera: libjvm.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio
=====

So I set OPERA_FORCE_JAVA_ENABLED to '1' and restarted. After doing so, I was still getting the missing libjvm.so error.

A $locate libjvm.so returns this:
=====
$ locate libjvm.so
/opt/sun-jdk-1.6.0.11/jre/lib/amd64/server/libjvm.so
/opt/emul-linux-x86-java-1.6.0.11/lib/i386/client/libjvm.so
/opt/emul-linux-x86-java-1.6.0.11/lib/i386/server/libjvm.so
=====

I noticed the /opt/sun-jdk-1.6.0.11/jre/lib/amd64/client/ was missing. So, I created it and made a symlink from /opt/sun-jdk-1.6.0.11/jre/lib/amd64/server/libjvm.so to /opt/sun-jdk-1.6.0.11/jre/lib/amd64/client/libjvm.so

This way I read no java-related errors when launching opera but, when trying to load an applet, I see the white space reserved to it but it never actually loads.

So, I think sun-jdk for amd64 is missing the correct ...amd64/client folder. Am I right, or am I missing something?

I must say that installing opera with the ia32 flag enabled and pointing JAVA to /opt/emul-linux-x86-java-1.6.0.11/lib/i386/ works. I think the reason is emul-linux-x86-java installs the corresponding ...i386/client folder.

Thanks in advance.

Reproducible: Always

Steps to Reproduce:
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-12-17 10:58:53 UTC
There's no amd64 client JVM simply because it doesn't exist, so we can't install it.
Try pointing opera to just "/opt/sun-jdk-1.6.0.11/" ? Or perhaps it just can't work on amd64.
Comment 2 urcindalo 2008-12-17 11:10:49 UTC
Thanks for the clarification. I was already afraid of that :(

It seems like an opera-for-amd64 problem.

BTW, Merry Xmas and a Happy New Year!!
Comment 3 Serkan Kaba (RETIRED) gentoo-dev 2008-12-17 11:12:09 UTC
As far as I know, 64 bit java plugin is Firefox 3 only.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2008-12-17 13:24:34 UTC
(In reply to comment #3)
> As far as I know, 64 bit java plugin is Firefox 3 only.
> 

I don't know how opera works but it's not really related to the this bug. There is no client vm in hotspot for amd64 so closing this as Invalid.