LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-07-2003, 10:18 PM   #1
KePSuX
Member
 
Registered: Nov 2002
Location: Fredericksburg Va
Distribution: Gentoo
Posts: 59

Rep: Reputation: 15
Mozilla 1.2.1+Redhat 9.0+Java=Confusion


Hey peoples, I'm having a issue getting Java installed on my new shiny Redhat 9.0 install.

This is what ive done

Downloaded the .bin from sun (j2re-1_4_1_02-linux-i586-rpm.bin) and run it. It gives me a j2re-1_4_1_02-linux-i586-rpm file, so RPM'ed it. I have a /usr/java/j2re1.4.1_02/plugin/i386/ directory. Inside that directory is three more, a ns4, ns600, and a ns 610. All the documentation ive found thus far has said to take the libjavaplugin_oji.so file inside of the ns 610 directory and create a symbolic link to /home/username/.mozilla/plugins/. I have done this, as i can see the symbolic link in my users /.mozilla/plugin directory highlighted in red.

This is my problem. Java dosent work. hah, In mozillas help->about plugins javas not listed. Hopefully this is just me being stupid. (im sure it is).

I dug around google and these boards and didnt come across anything i havent tried, so here i post.

Any help is totally rad! Thanks!
 
Old 04-07-2003, 10:42 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I personally link java globally in:
/usr/lib/mozilla/plugins

However, if you want it per user, that's fine. A red link usually means it's broken, so your symlinking either didn't work; you don't have access to a directory in that path; or it's a dynamic directory (probably not).

Just try re-symlinking it:
ln -sf /usr/java/j2re(press tab)/plugin/i386/ns610/libjavaplugin_oji.so /home/username/.mozilla/plu(press tab to ensure you actually have this syntax correct, it will autocomplete if you do)/libjavaplugin_oji.so

Then try:
about:plugins again.

Cool
 
Old 04-07-2003, 11:38 PM   #3
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
This was taken from Mozilla1.3 release notes pertaining to java:

"If you are using the Red Hat 8.x RPMS and you have the Java plugin installed, you must have a version that is also compiled with GCC 3.2. There is a version available from the Blackdown project. Make sure you download the GCC 3.2 version! A version with GCC 3.2 is also rumored to be available from Sun sometime soon."

You can check out the link here.
 
Old 04-08-2003, 07:11 PM   #4
KePSuX
Member
 
Registered: Nov 2002
Location: Fredericksburg Va
Distribution: Gentoo
Posts: 59

Original Poster
Rep: Reputation: 15
Quick side but related question: how do i find out the defualt installation directory for mozilla?

Thanks for the help guys, when i get a free moment ill let you know what worked.
 
Old 04-09-2003, 06:14 AM   #5
glyph
Member
 
Registered: Feb 2003
Location: Chugiak, Alaska
Distribution: Mac OS X Panther SuSE 9.0 pro
Posts: 61

Rep: Reputation: 15
Quick side but related question: how do i find out the defualt installation directory for mozilla?

i believe it's /usr/lib/mozilla-1.2.1
 
Old 04-09-2003, 08:29 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
whereis mozilla

Unless you've got multiple versions, that should work.

Cool
 
Old 04-17-2003, 06:22 PM   #7
KePSuX
Member
 
Registered: Nov 2002
Location: Fredericksburg Va
Distribution: Gentoo
Posts: 59

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MasterC
I personally link java globally in:
/usr/lib/mozilla/plugins
Upon symlinking it to /usr/lib/mozilla/plugins it works. Trying to put it in the home folder wasnt working for me. Thanks alot for all your help.
 
Old 04-17-2003, 06:38 PM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
You're welcome
 
Old 04-17-2003, 06:47 PM   #9
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Rep: Reputation: 30
Here are the instructions: http://members.shaw.ca/trollking/

However on RH 9.0, Galeon doesn't work with Java2 but Moziila web browser does. Also on Mandrake 9.1 both work without even doing the smbolic link. So the situation varies from distribution to distribution. I have Java2 working on Mozilla RH 9.0 at this time.

Note: I disabled Java for Galeon on RH 9.0 but you might not even have the galeon web browser installed yourself, because it is not in the default packages for RH 9.0.

Last edited by GtkUser; 04-17-2003 at 06:50 PM.
 
Old 05-01-2003, 02:14 AM   #10
pf1359
LQ Newbie
 
Registered: Mar 2003
Location: STL USA
Distribution: SuSE 9.0
Posts: 22

Rep: Reputation: 15
I have a similar problem. I installed j2sdk-1.4.2 beta, and put the path command in ~/.bash_profile, as per the website in the previous post. I am running RedHat 9, and I have both /usr/lib/mozilla and /usr/lib/mozilla-1.2.1, so I symlinked the .so file to both of their plugins directories. My terminal recognizes the javac command, but the plugins do not work. Is there something else I need to do?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Java plugin confusion Feldon Linux - Newbie 3 10-17-2004 10:52 AM
redhat 9 Java vm not working in mozilla Notyou Linux - Newbie 1 08-18-2004 08:45 AM
Java Installation confusion unitedoi Linux - Newbie 1 07-18-2004 09:22 PM
Java for Mozilla and Mozilla-firebird Problem, Please help londonboi Linux - General 5 01-08-2004 05:07 AM
java plugin on mozilla redhat 9 usamah82 Linux - Software 4 04-30-2003 11:59 AM


All times are GMT -5. The time now is 12:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration