UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hmmm interesting i made a symbolic link like this ln -s /usr/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so in the usr/lib/mozilla/plugins is that what needed to be done??
Not so fast! I have Java working with a couple other browsers, including firefox, and it just won't work with Opera. Every time I go to verify the java path, it says it's invalid. Can't figure out why. Here's the other posts on this topic:
I was using the Java plugin with Opera fine before I had to reinstall over the weekend due to repository dependancy issues... damn libqt3 I think it was...
Opera was using the plugin installed in /usr/lib/mozilla/plugins as far as I can remember.
The trouble I'm having now is getting Java installed again, which I'll have to do soon. The installer I downloaded from sun had some dependancy problem I'll have to look into.
I'm going to try to get it on and will let you all know what happens soon.
@KaruptData: Your command to create the link in the mozilla folder looks fine to me, which is somewhat concerning.
Right, I Reinstalled Java and created a symlink in /usr/lib/mozilla/plugins pointing to /usr/lib/jdk1.5.0_05/jre/plugin/i386/ns7/libjavaplugin_oji.so.
Opera detected the plugin and I thought all was sorted - BUT I had to enable the option in Opera to use Java. This is found in Tools->Quick Preferences->Enable Java.
Maybe you just haven't selected this option... just maybe :-)
I have enabled it - but Opera isn't detecting the plug-in for some reason. Well, I am going to have to reinstall soon so maybe it'll get sorted out then!
I guess you're using the last 8.5 or almost last Opera browser. As mentionned in its help, what you need to do is downloading and installing Java sun JRE (1.5.0.xxx). Then Tools/Preferences/Advanced will lead you to Java setting -among others-. You just have to enable Java and set in Java Options path to : /usr/java/jre1.5.0_04/lib/i386/ or something like (use browse to find where JRE libraries are).
That'all and it does work for me flawlessly.
P.S.: I assume your OS is linux or *nix.
Actually what you said is exactly what I did. When I point the java path to the correct directory where i installed the java plugin, or to the mozilla plugins folder (containing a working java), it says "Java path is invalid", when I know darn good and well it's the right path!
Well, pointing java path to mozilla plugins folder did not make it. I tried it too in vain. I don't reallly understand what you mean by "the directory where I installed the java plugin". If you take a look again at online opera help, you'll find out - and they mentionned it over and over again - that java plugin is embedded within the browser itself. All you got to do -actually I guess you did - is pointing to an installed jre library. If you have trouble doing that, possible explanation is that:
1) Mandrake has some incompatibility with the newest jre libs install.
2) Mandriva installation force the jre library to be located a dedicated directory of its own.
Whatever the cause might be I think you'd rather scan mandriva-java forums. In my experience I doubt that there were big differences between redhat distros (mine) and Mandrake ones.
Another work-around is to step back to a lesser version of jre.....You may meet Mandriva requirement....
when i installed the latest java from sun, it goes in this path: /usr/java/jre1.5.0_04/plugin/i386/ns7libjavaplugin_oji.so
when i open opera and enable java, then go to "java options" and then try to set the java path to the above directory, it says that it's invalid. Obviously its an opera problem because all my other browsers (mozilla and firefox 1.0.7) work just fine with java. That is why i tried to point the above java path to the mozilla plugins folder - it has a sym link to the java path there. still nothing. i've read about people whos java works fine so i dont' know what to do.
Hey why do you insist in pointing to this false path ? Definitely in your case, as I stated earlier, you have to point to :
/usr/java/jre1.5.0_04/lib/i386
and nothing else.
Opera 8.x has nothing to do with ns plugin or whatsoever. Forget all that. Don't think in terms of classical browser plugin. You do not need to link to a so.xxx file...
Hope this will fix permanently your setting.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.