USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

updating java run time

 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Web Browsers & Email Clients
View previous topic :: View next topic  
Author Message
ladypcer
Member


Joined: 01 Aug 2024
Posts: 224
Location: Illinois

PostPosted: Sun Aug 14, 2024 5:22 pm    Post subject: updating java run time Reply with quote

I have an older version of jre on my OS, and was able to dowload and install it to a folder (/usr/java/jre1.5.0_04) but how do I get it to run as a plugin in FireFox?



_________________
SuSe 9.3
SuSe 10
Back to top
View user's profile Send private message
jbsnake
Moderator


Joined: 02 Dec 2024
Posts: 1551
Location: Georgia

PostPosted: Sun Aug 14, 2024 5:38 pm    Post subject: Reply with quote

there should be a directory under the jre directory called "plugins" or something to that affect. and there should also be a plugins directory under the firefox directory...
let's say you have the directory /usr/java/jre1.5.0_04/plugins and the directory /usr/firefox/plugins
i would do this (as root):
Code:

ln -s /usr/java/jre1.5.0_04/plugins/* /usr/firefox/plugins/

that will make a static link in the firefox plugins directory that points to the java plugins directory... i don't like reproducing the same files everywhere so i make links (they are kind of like pointers in c) Smile



_________________
laptop: Arch 0.7.2 (Gimmick) - Kernel 2.6.17-ARCH
laptop: Suse 10.1 - Kernel 2.6.15
server: Arch 0.7.2 (Gimmick) - Kernel 2.6.17-ARCH
Back to top
View user's profile Send private message
ladypcer
Member


Joined: 01 Aug 2024
Posts: 224
Location: Illinois

PostPosted: Sun Aug 14, 2024 6:09 pm    Post subject: Reply with quote

I found the plugin folders and did this-
ln -s /usr/java/jre1.5.0_04/plugin/* /usr/lib/mozilla-firefox/plugins
but it didn't work, so I must have the wrong folder for the mozilla-firefox plugin, or something.
It didn't tell me it was a bad command though.



_________________
SuSe 9.3
SuSe 10
Back to top
View user's profile Send private message
jbsnake
Moderator


Joined: 02 Dec 2024
Posts: 1551
Location: Georgia

PostPosted: Sun Aug 14, 2024 6:42 pm    Post subject: Reply with quote

did you close then reopen firefox?
also... when you do close then reopen the browser... type
Code:

about:plugins

in the address bar, that will tell you what plugins you have installed Smile



_________________
laptop: Arch 0.7.2 (Gimmick) - Kernel 2.6.17-ARCH
laptop: Suse 10.1 - Kernel 2.6.15
server: Arch 0.7.2 (Gimmick) - Kernel 2.6.17-ARCH
Back to top
View user's profile Send private message
ladypcer
Member


Joined: 01 Aug 2024
Posts: 224
Location: Illinois

PostPosted: Sun Aug 14, 2024 7:08 pm    Post subject: Reply with quote

Yep. It show no java plugin at all.



_________________
SuSe 9.3
SuSe 10
Back to top
View user's profile Send private message
Ageros
Advanced Member


Joined: 14 Oct 2024
Posts: 599
Location: Alafreakin'bama

PostPosted: Sun Aug 14, 2024 7:15 pm    Post subject: Reply with quote

Odds are thats not the right folder, because that did the trick for me. Unless by chance you have Java disabled in the Firefox settings, but then again it should still show up as installed. Recheck the plugin folder for firefox.



_________________
Lappy: Ubuntu 6.06-1 and XP
Desktop: XP (til I get a new mobo)
Back to top
View user's profile Send private message AIM Address MSN Messenger
ladypcer
Member


Joined: 01 Aug 2024
Posts: 224
Location: Illinois

PostPosted: Sun Aug 14, 2024 7:52 pm    Post subject: Reply with quote

No, java is enabled in the browser.

Ok, the brower/s plugin folders are here- /usr/lib/mozilla/plugins and here- /usr/lib/mozilla-firefox/plugins

The version that came with Mepis is here- /usr/lib/j2se/1.4/jre/plugin/i386/mozilla/libjavaplugin_oji.so
and the newer version I installed is here- /usr/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so

These are the libjavaplugin_oji.so files that I need the browser to look for, right?

So given this info, what do I need to do to get mozilla and mozilla firefox to load either one?
I'll settle for either right now.
Laughing



_________________
SuSe 9.3
SuSe 10
Back to top
View user's profile Send private message
Ageros
Advanced Member


Joined: 14 Oct 2024
Posts: 599
Location: Alafreakin'bama

PostPosted: Sun Aug 14, 2024 8:35 pm    Post subject: Reply with quote

ln -s /usr/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla-firefox/plugins

For Mozilla its just the same thing only link it to Mozilla's plug-in folder instead of Firefox's. The reason it didn't work before was because all you did was link the i386 folder to the Firefox plugins folder not the .so file. I've always had to link to the file directly to make it work.



_________________
Lappy: Ubuntu 6.06-1 and XP
Desktop: XP (til I get a new mobo)
Back to top
View user's profile Send private message AIM Address MSN Messenger
jbsnake
Moderator


Joined: 02 Dec 2024
Posts: 1551
Location: Georgia

PostPosted: Sun Aug 14, 2024 8:35 pm    Post subject: Reply with quote

as root
Code:

ln -s /usr/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla-firefox/plugins/
ln -s /usr/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/

that should do it... i put it in both so you could use mozilla instead of firefox if you so chose Smile



_________________
laptop: Arch 0.7.2 (Gimmick) - Kernel 2.6.17-ARCH
laptop: Suse 10.1 - Kernel 2.6.15
server: Arch 0.7.2 (Gimmick) - Kernel 2.6.17-ARCH
Back to top
View user's profile Send private message
ladypcer
Member


Joined: 01 Aug 2024
Posts: 224
Location: Illinois

PostPosted: Sun Aug 14, 2024 9:38 pm    Post subject: Reply with quote

Thank you, thank you both! That worked. Very Happy
I kind of thought maybe I needed the whole path, after I ran down where the .so files were located, but that was a bit confusing.
I'll copy that so I'll have it should I need it in the future.
Thanks guys! Cool



_________________
SuSe 9.3
SuSe 10
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Web Browsers & Email Clients All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2024 - Usa Linux Users Group
This forum is powered by phpBB. © 2024-2006 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse