LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-26-2005, 12:45 PM   #1
karuptdata
LQ Newbie
 
Registered: Aug 2005
Distribution: Ubuntu Breezy Badger 5.10
Posts: 25

Rep: Reputation: 15
Opera Java Plugin Install


Hello i have been trying to install a java plugin for opera with no success.....Does anyone have any idea on how to get this accomplished..
 
Old 09-26-2005, 12:48 PM   #2
NoXiS
LQ Newbie
 
Registered: Oct 2004
Location: Edinburgh
Distribution: Slackware 10.1, Ubuntu 5.10 'Breezy'
Posts: 28

Rep: Reputation: 15
Hi

Opera looks for plugins in the mozilla plugins folder as well as its own locations.

If you have Mozilla (or probably firefox) set up with the Java plugin it will work with Opera.

This is how I would do it presuming you have one of the other two browsers installed.
 
Old 09-26-2005, 01:02 PM   #3
karuptdata
LQ Newbie
 
Registered: Aug 2005
Distribution: Ubuntu Breezy Badger 5.10
Posts: 25

Original Poster
Rep: Reputation: 15
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??
 
Old 09-26-2005, 01:29 PM   #4
chemdawg
Member
 
Registered: Jan 2005
Distribution: Mandriva
Posts: 206

Rep: Reputation: 31
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:

http://www.linuxquestions.org/questi...hreadid=366001

http://www.linuxquestions.org/questi...hreadid=363489

http://my.opera.com/community/forums....dml?id=102820

hope this helps


BTW - still don't have mine working - if you find out how to fix please post solution!
 
Old 09-26-2005, 01:34 PM   #5
karuptdata
LQ Newbie
 
Registered: Aug 2005
Distribution: Ubuntu Breezy Badger 5.10
Posts: 25

Original Poster
Rep: Reputation: 15
One more issue i have flash installed but it doesnt seem to work....any ideas on this one??
 
Old 09-26-2005, 02:10 PM   #6
chemdawg
Member
 
Registered: Jan 2005
Distribution: Mandriva
Posts: 206

Rep: Reputation: 31
hmm - did you verify that the flash plugins are in the /opera/plugins folder?
 
Old 09-26-2005, 06:34 PM   #7
NoXiS
LQ Newbie
 
Registered: Oct 2004
Location: Edinburgh
Distribution: Slackware 10.1, Ubuntu 5.10 'Breezy'
Posts: 28

Rep: Reputation: 15
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.

Last edited by NoXiS; 09-26-2005 at 06:38 PM.
 
Old 09-27-2005, 06:43 AM   #8
NoXiS
LQ Newbie
 
Registered: Oct 2004
Location: Edinburgh
Distribution: Slackware 10.1, Ubuntu 5.10 'Breezy'
Posts: 28

Rep: Reputation: 15
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 :-)
 
Old 09-27-2005, 09:57 AM   #9
chemdawg
Member
 
Registered: Jan 2005
Distribution: Mandriva
Posts: 206

Rep: Reputation: 31
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!
 
Old 09-29-2005, 08:46 AM   #10
gasykel
LQ Newbie
 
Registered: Sep 2005
Location: France
Distribution: redhat 6.2/7.3/9
Posts: 4

Rep: Reputation: 0
Wink Java Plugin install assumes Java JRE install

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.
 
Old 09-29-2005, 05:58 PM   #11
chemdawg
Member
 
Registered: Jan 2005
Distribution: Mandriva
Posts: 206

Rep: Reputation: 31
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!
 
Old 09-30-2005, 02:42 AM   #12
gasykel
LQ Newbie
 
Registered: Sep 2005
Location: France
Distribution: redhat 6.2/7.3/9
Posts: 4

Rep: Reputation: 0
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....
 
Old 09-30-2005, 09:32 AM   #13
chemdawg
Member
 
Registered: Jan 2005
Distribution: Mandriva
Posts: 206

Rep: Reputation: 31
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.
 
Old 09-30-2005, 07:03 PM   #14
gasykel
LQ Newbie
 
Registered: Sep 2005
Location: France
Distribution: redhat 6.2/7.3/9
Posts: 4

Rep: Reputation: 0
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.
 
Old 10-01-2005, 08:50 AM   #15
chemdawg
Member
 
Registered: Jan 2005
Distribution: Mandriva
Posts: 206

Rep: Reputation: 31
wow, it did - i pointed it to that exact place and it worked! I'm glad you helped, because I wouldn't ever have guessed that path!

thanks again
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Java plugin w/ Opera 7.5.3 judgedeath2 Linux - Newbie 3 07-29-2004 03:40 PM
HELP! - Java plugin will not install GordGray Linux - Software 1 07-06-2004 08:07 AM
Flash Plugin in Opera 7.11. Not showing up on plugin list even. binarynova Linux - Software 4 02-05-2004 07:21 AM
java plugin install samshiver Linux - Software 4 09-09-2003 01:34 PM
Cannot install Java Plugin (1.4.0) dsledge Linux - General 3 05-09-2002 01:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration