View previous topic :: View next topic |
Author |
Message |
medicineman n00b


Joined: 17 Oct 2006 Posts: 15 Location: Mcdonough, Georgia, USA
|
Posted: Wed Sep 10, 2008 4:07 pm Post subject: Opera/IcedTea6 - Failed to find plugin.jar |
|
|
New install on AMD64
kernel-2.6.25-gentoo-r7
Code: | medicienman # opera -full-version
Opera 9.52. Build 2091 for Linux. Qt library 3.3.8.
Compiled on Aug 14 2008 by gcc 4.0.0 20050519 (Red Hat 4.0.0-8) (ABI: 1002) for GNU libc 2.3
using Qt 3.3.4 (x86_64 Linux g++-4.* full-config). |
Code: | medicineman # java-config --list-available-vms
The following VMs are available for generation-2:
1) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
2) Blackdown JRE 1.4.2.03 [blackdown-jre-1.4.2]
3) Sun 32bit JRE 1.6.0.07 [emul-linux-x86-java-1.6]
*) OpenJDK6/IcedTea6 1.2 [icedtea6]
5) Sun JDK 1.5.0.16 [sun-jdk-1.5]
6) Sun JDK 1.6.0.07 [sun-jdk-1.6] |
Similar [unresolved] post:
https://forums.gentoo.org/viewtopic-t-704744-highlight-opera+java.html
I am trying to get java working in Opera (only needed for Sage).
I used "opera -debugjava" and "opera -debugplugin" to find files opera was complaining about. Two of the files are listed in the link above and I found two more. I made the following hard links to correct this part of the problem:
Code: | medicineman # ln /usr/lib64/icedtea6-1.2/jre/lib/amd64/server/libjvm.so /usr/lib64/icedtea6-1.2/jre/lib/amd64
medicineman # ln /usr/lib64/icedtea6-1.2/jre/lib/amd64/xawt/libmawt.so /usr/lib64/icedtea6-1.2/jre/lib/amd64
medicineman # ln /usr/lib64/xulrunner-1.9/libxpcom.so /usr/lib64/icedtea6-1.2/jre/lib/amd64
medicineman # ln /usr/lib64/xulrunner-1.9/libxpcom_core.so /usr/lib64/icedtea6-1.2/jre/lib/amd64 |
Edit: 09/10/2008 Corrected path to link target
Note: xulrunner was pulled in when I emerged mozilla-firefox-3.0.1. I did not run "opera -debugplugins" before this so I do not know what the response would have been.
Now, when I run opera -debugplugin, I get this (only showing relevant data):
Code: | medicineman # opera -debugplugin
operapluginwrapper: [plugin probing] /usr/lib64/icedtea6-1.2/jre/lib/amd64/gcjwebplugin.so
GCJ PLUGIN: thread 0x79fce0: NP_GetMIMEDescription
GCJ PLUGIN: thread 0x79fce0: NP_GetMIMEDescription return
operapluginwrapper: [plugin probing] MIMEDescription : present
GCJ PLUGIN: thread 0x79fce0: NP_GetValue
GCJ PLUGIN: thread 0x79fce0: NP_GetValue: returning plugin name.
GCJ PLUGIN: thread 0x79fce0: NP_GetValue return
operapluginwrapper: [plugin probing] NPPVpluginNameString : present
GCJ PLUGIN: thread 0x79fce0: NP_GetValue
GCJ PLUGIN: thread 0x79fce0: NP_GetValue: returning plugin description.
GCJ PLUGIN: thread 0x79fce0: NP_GetValue return
operapluginwrapper: [plugin probing] NPPVpluginDescriptionString : present
operapluginwrapper: [plugin probing] dlclose returned : 0
operapluginwrapper: [plugin probing] Return value : 0 File : /usr/lib64/icedtea6-1.2/jre/lib/amd64/gcjwebplugin.so
operapluginwrapper: [plugin probing] /opt/opera/lib/opera/plugins/libflashplayer.so
operapluginwrapper: [plugin probing] MIMEDescription : present
operapluginwrapper: [plugin probing] NPPVpluginNameString : present
operapluginwrapper: [plugin probing] NPPVpluginDescriptionString : present
operapluginwrapper: [plugin probing] dlclose returned : 0
operapluginwrapper: [plugin probing] Return value : 0 File : /opt/opera/lib/opera/plugins/libflashplayer.so
operapluginwrapper: [plugin probing] /opt/netscape/plugins/libflashplayer.so
operapluginwrapper: [plugin probing] MIMEDescription : present
operapluginwrapper: [plugin probing] NPPVpluginNameString : present
operapluginwrapper: [plugin probing] NPPVpluginDescriptionString : present
operapluginwrapper: [plugin probing] dlclose returned : 0
operapluginwrapper: [plugin probing] Return value : 0 File : /opt/netscape/plugins/libflashplayer.so
There was an error trying to initialize the HPI library.
opera: plugin detection successful: /usr/lib64/icedtea6-1.2/jre/lib/amd64/gcjwebplugin.so
opera: plugin detection successful: /opt/opera/lib/opera/plugins/libflashplayer.so
opera: plugin detection successful: /opt/netscape/plugins/libflashplayer.so
There was an error trying to initialize the HPI library. |
And when I run opera -debugjava:
Code: | medicineman # opera -debugjava
GCJ PLUGIN: thread 0x2469ce0: NP_GetValue
GCJ PLUGIN: thread 0x2469ce0: NP_GetValue: returning plugin name.
GCJ PLUGIN: thread 0x2469ce0: NP_GetValue return
GCJ PLUGIN: thread 0x2469ce0: NP_GetMIMEDescription
GCJ PLUGIN: thread 0x2469ce0: NP_GetMIMEDescription return
GCJ PLUGIN: thread 0x2469ce0: NP_GetValue
GCJ PLUGIN: thread 0x2469ce0: NP_GetValue: returning plugin name.
GCJ PLUGIN: thread 0x2469ce0: NP_GetValue return
GCJ PLUGIN: thread 0x2469ce0: NP_GetValue
GCJ PLUGIN: thread 0x2469ce0: NP_GetValue: returning plugin description.
GCJ PLUGIN: thread 0x2469ce0: NP_GetValue return
GCJ PLUGIN: thread 0x17bbce0: NP_GetValue
GCJ PLUGIN: thread 0x17bbce0: NP_GetValue: returning plugin name.
GCJ PLUGIN: thread 0x17bbce0: NP_GetValue return
GCJ PLUGIN: thread 0x17bbce0: NP_GetMIMEDescription
GCJ PLUGIN: thread 0x17bbce0: NP_GetMIMEDescription return
GCJ PLUGIN: thread 0x17bbce0: NP_GetValue
GCJ PLUGIN: thread 0x17bbce0: NP_GetValue: returning plugin name.
GCJ PLUGIN: thread 0x17bbce0: NP_GetValue return
GCJ PLUGIN: thread 0x17bbce0: NP_GetValue
GCJ PLUGIN: thread 0x17bbce0: NP_GetValue: returning plugin description.
GCJ PLUGIN: thread 0x17bbce0: NP_GetValue return
GCJ PLUGIN: thread 0x809ce0: NP_GetValue
GCJ PLUGIN: thread 0x809ce0: NP_GetValue: returning plugin name.
GCJ PLUGIN: thread 0x809ce0: NP_GetValue return
GCJ PLUGIN: thread 0x809ce0: NP_GetMIMEDescription
GCJ PLUGIN: thread 0x809ce0: NP_GetMIMEDescription return
GCJ PLUGIN: thread 0x809ce0: NP_GetValue
GCJ PLUGIN: thread 0x809ce0: NP_GetValue: returning plugin name.
GCJ PLUGIN: thread 0x809ce0: NP_GetValue return
GCJ PLUGIN: thread 0x809ce0: NP_GetValue
GCJ PLUGIN: thread 0x809ce0: NP_GetValue: returning plugin description.
GCJ PLUGIN: thread 0x809ce0: NP_GetValue return
opera: [Java] Failed to find plugin.jar. This disables the
automatic conversion of some invalid classes. In
particular, many applets compiled with older java compilers
are considered invalid by modern java VMs.
There was an error trying to initialize the HPI library. |
Notice the last few lines.
I know nothing about java. Can someone please explain what plugin.jar is and maybe suggest a workaround.
Last edited by medicineman on Fri Sep 12, 2008 2:31 am; edited 1 time in total |
|
Back to top |
|
 |
medicineman n00b


Joined: 17 Oct 2006 Posts: 15 Location: Mcdonough, Georgia, USA
|
Posted: Wed Sep 10, 2008 7:42 pm Post subject: |
|
|
Adding this for the bump:
Code: | medicineman # eselect java-nsplugin list
Available 32-bit Java browser plugins
[1] emul-linux-x86-java-1.6
Available 64-bit Java browser plugins
[1] icedtea6 current |
Code: | medicineman # locate plugin.jar
/opt/blackdown-jre-1.4.2.03/lib/plugin.jar
/opt/blackdown-jdk-1.4.2.03/jre/lib/plugin.jar
/opt/emul-linux-x86-java-1.6.0.07/lib/plugin.jar |
According to the Opera support page (http://www.opera.com/support/search/view/459/),
"Opera uses the Java 2 Runtime Environment (JRE) directly, rather than through the use of a Web browser plug-in."
So.... Do I really need to compile icedtea6 with the nsplugin USE flag?
Also, I have not been able to get java to work with 32-bit Opera either.
Java "sort of" works with firefox. |
|
Back to top |
|
 |
cst Apprentice

Joined: 24 Feb 2008 Posts: 203 Location: /proc
|
Posted: Wed Sep 10, 2008 8:40 pm Post subject: |
|
|
I tried many things and I was not able to get ANY java working with opera. (~amd64) _________________ i7 3930K @ 4GHz
MSI X79A-GD45 (8D)
32GB 1600 MHz DDR3 Samsung
Samsung 840 PRO, 2xSamsung HD502HJ in RAID 1
MSI GTX 980Ti
latest gentoo-sources on x86_64 Fluxbox (amd64)
best render farm: www.GarageFarm.NET |
|
Back to top |
|
 |
medicineman n00b


Joined: 17 Oct 2006 Posts: 15 Location: Mcdonough, Georgia, USA
|
Posted: Wed Sep 10, 2008 9:00 pm Post subject: |
|
|
cst wrote: | I tried many things and I was not able to get ANY java working with opera. (~amd64) |
Believe me, I feel your pain. I have not given up yet, though.
From this page http://icedtea.classpath.org/wiki/GentooBuildInstructions
I found the dependencies needed for icedtea6:
(Note: I am not sure how up to date this is. The site claims it was tested on Gentoo 2007.0 ~x86)
Quote: | dev-java/gcj-jdk ~amd64
=sys-devel/gcc-4.3.1 ~amd64
=dev-java/eclipse-ecj-3.3.0-r5 ~amd64
dev-java/icedtea6 ~amd64
dev-java/icedtea ~amd64
=dev-java/ant-core-1.7.0-r3 ~amd64
virtual/jdk ~amd64 |
Looks like I need to update gcc (Currently running gcc-4.1.2)
I would also have to add gcj-jdk and eclipse-ecj.
The thing that confuses me now is that icedtea6 seemed to build without any problems. At least there is nothing listed in portage/elog.
Any words of wisdom out there before I ruin my [very] stable system with a gcc update? |
|
Back to top |
|
 |
cst Apprentice

Joined: 24 Feb 2008 Posts: 203 Location: /proc
|
Posted: Thu Sep 11, 2008 9:27 am Post subject: |
|
|
Tried that, the packages had circular dependencies which I couldnt resolve and I actually needed to install a binary of icedtea 1,7 to install all those packages. This was a few months ago so I dont know what is the state of current packages.
About the gcc: I personaly never had trouble with it, but be warned gcc with gcj use flag wants to recompile itself over and over again if you run revdep-rebuild. _________________ i7 3930K @ 4GHz
MSI X79A-GD45 (8D)
32GB 1600 MHz DDR3 Samsung
Samsung 840 PRO, 2xSamsung HD502HJ in RAID 1
MSI GTX 980Ti
latest gentoo-sources on x86_64 Fluxbox (amd64)
best render farm: www.GarageFarm.NET |
|
Back to top |
|
 |
medicineman n00b


Joined: 17 Oct 2006 Posts: 15 Location: Mcdonough, Georgia, USA
|
Posted: Fri Sep 12, 2008 2:43 am Post subject: |
|
|
I switched to gcc-4.3.1 and re-emerged everything. Java is still broken for Opera. I am trying to figure out if it has something to do with libhpi.so. No luck so far. |
|
Back to top |
|
 |
|