LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-02-2003, 11:20 AM   #1
MadCactus
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1
Posts: 195

Rep: Reputation: 30
Enable Java for Mozilla 1.4


Hi recently got Mozilla 1.4 (from .tar.gz), it won't run Java applets.

I have the j2sdk installed but the only option in Mozilla is enable/disable Java.

Is this a mime-type thing?

As for the default download plugin thing, that just don't work.
 
Old 07-02-2003, 11:23 AM   #2
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
try blackdown java. proper instructions
are included with the j2re download.
good luck.
 
Old 07-04-2003, 12:59 PM   #3
jimmmac
Member
 
Registered: Oct 2002
Location: Florida
Distribution: RedHat
Posts: 109

Rep: Reputation: 15
Hello neenee

Another Java /Mozilla problem. Just fixed it last night. Here is my post in another thread

Hi everyone

I finally got it all by myself. I went to blackdown, followed the instructions exactly to get Java 2 installed. ie. I copied j2re-1.4.1-01-linux-i586-gcc3.2.bin right into /usr/local, did a chmod +x as root, then ran it. It put it into j2re1.4.1. I then issued the following two commands as root

ln -s /usr/local/j2re1.4.1/plugin/i386/javaplugin_oji.so /usr/lib/mozilla/plugins/

and

ln -s /usr/local/j2re1.4.1/plugin/i386/mozilla/javaplugin_oji.so /home/Jim/.mozilla/plugins/

You can replace the 'Jim' with whatever your home directory is called. I am not too bright, I use my name. Thanks everyone for the help. I hope this helps Chazb, who is also having trouble. I think a lot of my trouble was that I am a horrible typist. I suspect my typing more than everything. Take care.

Jim
 
Old 07-04-2003, 06:00 PM   #4
Bionic_Redneck
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake 9.2
Posts: 10

Rep: Reputation: 0
If you want to use sun java you need 1.4.2 and just make the symbolic link from /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32 to /usr/local/mozilla/plugins as root. I prefer to use konqueror as su myself instead of a terminal
 
Old 07-05-2003, 11:45 AM   #5
MadCactus
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1
Posts: 195

Original Poster
Rep: Reputation: 30
Thanks for the tip bio!

Is that due to deprecated tags, or is it just broken?
 
Old 07-05-2003, 01:51 PM   #6
Bionic_Redneck
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake 9.2
Posts: 10

Rep: Reputation: 0
Quote:
The Linux binaries distributed by mozilla.org are now compiled with GCC 3.2. If you're using these binaries then you will need the 3.2 version of the Java Plugin from Sun J2SE v 1.4.2 (or the Blackdown JDK 1.4.1 compiled with GCC 3.2.) The Sun Java Plugin is compatible with modern Linux versions like Red Hat 8 or later and SuSE 8.1 or later (the plugin depends on a newer version of libgcc_s.so, installing the GCC supplements for Red Hat 7.3 -GCC 3.1 Compiler Suite for Red Hat Linux 7.3 - may allow for some older Red Hat Linux to run the plugin) Users of older Linux versions should either install the egcs 1.1.2 build of Mozilla and the JRE 1.4.1 or wait for a Mozilla version compiled specifically for their Linux distribution.
 
Old 07-06-2003, 11:32 AM   #7
MadCactus
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1
Posts: 195

Original Poster
Rep: Reputation: 30
Ok I reverted to mozilla 1.2.1 and the j2sdk 1.4.2.

I think because moz 1.4.x is compiled with gcc 3.2 you have to use the plugin in /plugins/i386
 
Old 07-06-2003, 11:34 AM   #8
MadCactus
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1
Posts: 195

Original Poster
Rep: Reputation: 30
Ok I reverted to mozilla 1.2.1 and the Sun Java j2sdk 1.4.2 which works.

I think because moz 1.4.x is compiled with gcc 3.2 you would have to do: ln -s /javapath/plugins/i386/ns610/libjavaplugin_oji.so /mozillapath/plugins/

With 1.2.1 I did:
ln -s /javapath/plugins/i386/ns610/libjavaplugin_oji.so /mozillapath/plugins/

And it now works! Whoohoo now strange people can run programs on my computer!

I don't think it matters if you use blackdown or Sun, its just getting the right version.
 
  


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
How to enable java for vnc? ragnar86 Red Hat 1 05-26-2005 12:06 AM
Enable Java plugin for Mozilla browser maelstrom209 Linux - Software 14 02-24-2005 01:53 PM
How to enable java in FireFox zyzyis Linux - Newbie 7 09-29-2004 07:07 PM
Java for Mozilla and Mozilla-firebird Problem, Please help londonboi Linux - General 5 01-08-2004 06:07 AM
morzilla java enable ronss Linux - Software 1 10-29-2002 09:47 PM


All times are GMT -5. The time now is 08:28 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