LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-26-2003, 01:55 AM   #1
InEeDhElPlInUx
Member
 
Registered: Sep 2003
Posts: 107

Rep: Reputation: 15
How to link Java


Sorry I know this have been probably covered before but I've looked and couldnt find anything. I'm still pretty new so keep it simple. I have java vm installed and the folder is in my home folder. I need to get java to work in Mozilla and from what I've read I need to link it to the pluggins. So how do I do this...remember keep it simple please Thanks!
 
Old 10-26-2003, 01:01 AM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
what java package did you install? if it's sun's package, i doubt very much it's installed in your home directory. give us the command(s) you used to install java and the java version you think you installed. also what version of mozilla are you using?
 
Old 10-26-2003, 01:39 AM   #3
InEeDhElPlInUx
Member
 
Registered: Sep 2003
Posts: 107

Original Poster
Rep: Reputation: 15
alright I acually installed 2 different packages..j2re-1_4_2_01-linux-i586.rpm and j2re-1_4_2_02-linux-i586.rpm because I thought I might have accidentally grabbed the wrong one. I got them as .bin packages and did the whole chmod a+x <name> made rpms and installed them. They installed to /usr/java and they are both there in folders. And I'm using mozilla 1.2.1. Anything else??
 
Old 10-26-2003, 01:51 AM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
1. cd /usr/lib/mozilla-1.2.1/plugins
2. su
3. ln -s /usr/java/j2re1.4.2_02/plugin/i386/ns610/libjavaplugin_oji.so

that's it. if you installed 1.4.2_01 last, then change j2re1.4.2_02 to j2re1.4.2_01 since if using rpms, the last package that gets installed replaces the package that was installed before it depending on which flags you used to install the rpms. if you have a /usr/java/j2re1.4.2_01 and /usr/java/j2re1.4.2_02, then you don't have to do anything differently than what was posted above.

Last edited by megaspaz; 10-26-2003 at 02:18 AM.
 
Old 10-26-2003, 05:48 AM   #5
pibby
Member
 
Registered: Oct 2003
Location: Houston, TX
Distribution: Debian Sid
Posts: 100

Rep: Reputation: 15
I am in the same predicament, only with Mozilla 1.3 and Mandrake 9.1.
I have followed those directions and it now says:

ln: `./libjavaplugin_oji.so': File exists

When I click on Help-> About Plugins (in Mozilla) the window with the long list says Yes on everyone of them in the Enabled column. However, when I try to play games at pogo.com or games.yahoo.com, I receive a "Java Misinstalled or Corrupt" error message and the game never loads. I just want to play my games

I appreciate any help you can offer!

I am running:
Mandrake 9.1
Mozilla 1.3
Java SDK 1.4.2

Thanks,
Katie
 
Old 10-26-2003, 06:51 AM   #6
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
for you pibby try this (assuming you used the *.bin mozilla installer from mozilla.org):

1. cd /usr/local/mozilla/plugins
2. rm -r libjavaplugin*.so
3. su
4. ln -s /usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

but let me know how you installed mozilla 1.3. whether it was an update in rpm binary from your distro or if it was how i described it above.
 
Old 10-26-2003, 07:12 AM   #7
pibby
Member
 
Registered: Oct 2003
Location: Houston, TX
Distribution: Debian Sid
Posts: 100

Rep: Reputation: 15
Nope, I am using the Mozilla 1.3 that came with Mandrake 9.1.
Should I download the same version from Mozilla.org and try your suggestions?

edit: It appears that 1.3 is no longer on the mozilla site in the release section. Would using Firebird help the situation any? Or downloading v. 1.4 of Mozilla?

Last edited by pibby; 10-26-2003 at 07:18 AM.
 
Old 10-26-2003, 07:17 AM   #8
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Quote:
Originally posted by pibby
Nope, I am using the Mozilla 1.3 that came with Mandrake 9.1.
Should I download the same version from Mozilla.org and try your suggestions?
where is your mozilla path? (/usr/lib/mozilla-1.3, etc...)
just cd to there and follow the rest of the commands i posted earlier for you.

Last edited by megaspaz; 10-26-2003 at 07:18 AM.
 
Old 10-26-2003, 07:31 AM   #9
pibby
Member
 
Registered: Oct 2003
Location: Houston, TX
Distribution: Debian Sid
Posts: 100

Rep: Reputation: 15
Still getting the same error from pogo.com.

I may try installing v1.4 and seeing if I can get any results with that version. I have no idea why this isn't working in 1.3.

Thank you very much for your help, I may be back asking for more! I appreciate your time and fast response :-)
 
  


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
bad java link to firefox cool hat Linux - Newbie 8 10-26-2005 01:25 AM
java symbolic link question MRDucks Mandriva 4 09-26-2005 09:57 PM
Firefox Java Plugin Symbolic Link TSynergy Linux - Newbie 4 11-16-2004 10:01 PM
link java plugin to mozilla-firebird 0.7 randomx Linux - Software 6 12-12-2003 11:36 AM
how to symbol link your Java to be able to use in Mozilla. waheedrafiq Linux - Software 6 08-10-2003 03:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:49 AM.

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