LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-28-2004, 10:11 AM   #1
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Mozilla java stupidness


Ok Java is really getting on my nerves. I have tried getting java working with mozilla and also with firefox on slackware 10. For some reason whatever java you use in mozilla 1.4 it never shows up as a installed plugin. I have tired making a link to both java plugin libs in the j2re diectory to no avail. I also tried firefox. I compleatly removed java using pkgtool then installed firefox 1.0. Went to yahoo games and it said i needed to install the plugin. Fine i said install the plugin <-- it freeking showed me the plugin. I installed it and it said it was installed. i reloaded the page. Need to install java plugin again FINE!! installed it again and reloaded the page. please install java plugin <-- ok pissing me off now. Installed it again and it said firefox needed to be restarted so i restarted firefox. Tried yahoo games again and guess what it did. Now its giving me the FU#(ing mozilla like error please install java plugin. So I dunno guys is there a way to get java to work in linux on a browser or am i wanting something that can only be done in netscape and internet explorer.


Reason im trying to get yahoo games to work is cause i occanally play them with my exwife over the internet And would like to do this in linux then keep windows around. So can anyone help me out maybe im doing something wrong.. Do i need to compile mozilla from scratch what?


By the way i can use java based programs on that computer without an issue.


I even tried installing the newest version of java from sun's site java 1.5

Nothing is working
 
Old 11-28-2004, 11:32 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Well, if you use both Mozilla and Firefox the easiest thing to do is install the plugin in your Mozilla profile and then they will both use it. Make a folder ~/.mozilla/plugins, cd into it and then make a symbolic link pointing at the java plugin. Which version of Java have you installed? This code uses the java that comes with Slackware 10. If you want to use jre1.5.0 (I would - it loads faster) then use the /jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so
Code:
mkdir ~/.mozilla/plugins
cd ~/.mozilla/plugins
ln -s /usr/lib/j2sdk1.4.2_04/jre/plugin/i386/ns610/libjavaplugin_oji.so
For more info read the Mozilla Plugindoc Java FAQ
 
Old 11-28-2004, 12:28 PM   #3
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
actually if you're using newer mozilla and firefox version, you want to link to the plugin using gcc 3.2 in this directory: ns610-gcc32
 
Old 11-28-2004, 03:14 PM   #4
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
I have a little Web page that explains how to get Java 5.0 (i.e. JDK/JRE 1.5) to work with Firefox, if it can be of some help...

http://daihard.home.comcast.net/firefox/linux_java.html
 
Old 11-28-2004, 04:12 PM   #5
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Quote:
Originally posted by megaspaz
actually if you're using newer mozilla and firefox version, you want to link to the plugin using gcc 3.2 in this directory: ns610-gcc32
DOH! How embarrassing! I need more caffine...
 
Old 11-29-2004, 09:14 AM   #6
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Original Poster
Rep: Reputation: 87
I will try creating a .mozilla file but it still escapes me why i can get flash working so well and java has to be a major pain in the ass.
 
Old 11-29-2004, 07:38 PM   #7
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Quote:
Originally posted by exvor
I will try creating a .mozilla file but it still escapes me why i can get flash working so well and java has to be a major pain in the ass.
Actually, if I'm not mistaken, the link to the Java plugin file should be created in your Mozilla plugins directory. For instance, if your Mozilla is installed under /usr/lib/mozilla, then the symlink to libjavaplugin_oji.so should be created in /usr/lib/mozilla/plugins.
 
  


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 in mozilla Stubzyboy Linux - Newbie 2 02-07-2004 09:27 AM
Java for Mozilla and Mozilla-firebird Problem, Please help londonboi Linux - General 5 01-08-2004 05:07 AM
Java in Mozilla Firebird and Mozilla saurya_s Linux - Software 1 12-08-2003 01:12 PM
Mozilla java plugin no go kills Mozilla skinpainting Red Hat 13 11-30-2003 11:30 AM
JAVA and MOZILLA, mozilla just shuts off!! jcrapps Linux - Newbie 7 02-04-2003 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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