LinuxQuestions.org
Register a domain and help support LQ
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 11-08-2003, 02:52 PM   #1
mrmojo
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake 9.1
Posts: 26

Rep: Reputation: 15
Cool Java plugin on Mozilla 1.5


I have installed the java plugin on Mozilla 1.5, 've made the symbolic link in plugins directory to libjavaplugin_oji.so and it seems to give me no problem when i start mozilla, but when i engage a web site with some java applet it shows me the message that tells me to download java plugin, as i didn't have it.
What could be the motivaytion?
THANKS A LOT
 
Old 11-08-2003, 05:53 PM   #2
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
Not positive on this...
I think it is because of the gcc it was compiled with...
The file I am using is j2re-1.4.1-01-linux-i586-gcc3.2.bin
Link to download it:
http://ftp.linux.org.uk/pub/linux/ja...586-gcc3.2.bin
 
Old 11-08-2003, 07:06 PM   #3
mrmojo
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake 9.1
Posts: 26

Original Poster
Rep: Reputation: 15
Nothing to do

I have tried to use that version of java plugin too, but nothing to do.

To load plugin i create a symbolic link to libjavaplugin_jni.so in mozilla plugin directory as written on installation guide, but applet doesn't work. When i make an hard link or i copy that file it gives me this message:

LoadPlugin: failed to initialize shared library /home/mrmojo/sof/mozilla/plugins/libjava.so [libjvm.so: cannot open shared object file: No such file or directory]

I FIND LINUX VERY HARD TO USE BUT I KNOW THAT THE FOULT IS JUST OF THAT SLAYER CALLED WINDOW


HAPPY TO BECOME A PENGUIN
 
Old 11-12-2003, 04:54 PM   #4
lhm0155
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
1.4.2 must be used due to gcc 3.2

sorry guys but in order to run java with mozilla 1.5, because it uses the gcc3.2 compiler, you must use 1.4.2
 
Old 11-12-2003, 06:28 PM   #5
mrmojo
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake 9.1
Posts: 26

Original Poster
Rep: Reputation: 15
Talking Absolutely nothing

1.4.2 and nothing to do, i believe that i've made some foolish during installation of mozilla or during installation of java plugins and now i'm out, it doesn't matter, i am learning a lot of things and i am happy of this......
 
Old 11-12-2003, 08:08 PM   #6
lhm0155
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
ok which one did you link too??

the one that i use is the libjavaplugin in the ns610-gcc32 directory and it works great, also in your preferences under advanced is java enabled?? just checking
 
Old 11-12-2003, 08:15 PM   #7
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
check which version of mozilla you're actually using. i've seen this so many times with people opening mozilla using the mozilla command thinking that when they installed moz 1.5 that it opens using the same command. moz 1.5 defaults to install in /usr/local/mozilla/ and to run it you need to run the command /usr/local/mozilla/mozilla. my bet is that you've installed mozilla 1.5 but when you run mozilla, you're still using an older version of mozilla. also make a symbolic link into /usr/local/mozilla/plugins and not into your $HOME/.mozilla/plugins.

Last edited by megaspaz; 11-12-2003 at 08:16 PM.
 
Old 11-22-2003, 06:02 PM   #8
Partisan
LQ Newbie
 
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
Cool Java plug-in problem in mozilla 1.5

May be I had the similar problem
After installation of j2sdk1.4.2 and creating all the necessary links in "~/.mozilla/plugins" Mozilla actually doesn't show that it has java-plugin.
In my case the problem was that mozilla could not find a file "libgcc_s.so.1".
Fortunately this library was already somewhere in my system (use "locate libgcc_s.so" to find in yours).
Solution was simple - I just put this file into a folder where mozilla was installed (in my case it is "/opt/mozilla/". There are also files "run-mozilla.sh" etc.). After that I went in menu "Help->About Plug-ins" and enjoyed the view Java plug-ins are found and usable.

Hope that my solution will help anybody.
 
Old 11-22-2003, 06:58 PM   #9
mrmojo
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake 9.1
Posts: 26

Original Poster
Rep: Reputation: 15
Smile thanks

thanks a lot i don't know if it works becouse i've installed slackware 9.1, but thanks anyway in the name of community
 
Old 12-22-2003, 03:56 PM   #10
Owen LaGarde
LQ Newbie
 
Registered: Dec 2003
Distribution: RH
Posts: 6

Rep: Reputation: 0
Unhappy Java-no-workee, oy vey

Running Mozilla 1.5 and J2RE 1.4.2_03-b02 on a RedHat 2.4.20-24.8smp kernel. After the JRE install I had to "chmod -R og+rX <mozilla root>/lib <mozilla root>/plugins" to allow all users access (root umask of 037). Once that was done, the plugin appeared in the "About Plugins" page for all users. Problem is the plugin doesn't work uniformly even for root. High level functions such as openwindow (look at www.mbna.com at the "GO" button for services logins) work for root only; no action and no logs are evident for this action with all non-root users. Functions requiring lower level library calls don't work at all (j2re clock demo from Sun, specific to the J2RE 1.4.2 release), even for root (Mozilla states that the plugin is required. I've verified that the release tag in the java applet(s) do match the installed JRE, and that userland mozilla configuration and java plugin associations are identical between root and at least one non-root test user. Anybody have an idea what else I should check?
 
Old 12-22-2003, 04:27 PM   #11
Owen LaGarde
LQ Newbie
 
Registered: Dec 2003
Distribution: RH
Posts: 6

Rep: Reputation: 0
Thumbs up Re: Java-no-workee, oy vey

Got a solution for part of the problem. Hypothetically (not that I would be so bone-headed as to forget about this, nosireebob) it *might* (see previous comment) have been ... cache. Clear it and restart mozilla, and java tests (two follow) start working:

http://www.java.com/en/download/help/testvm.jsp
http://www.clan.lib.ri.us/clan/old_javatest.html

Also good to see is that hostile applets are blocked correctly by local security policy with the new (1.4.1+) JRE:

http://www.cigital.com/hostile-apple...ickpocket.html

There are still failures -- jumpMenu(), for example, only works as root -- but that's a different problem.
 
Old 12-22-2003, 05:06 PM   #12
Owen LaGarde
LQ Newbie
 
Registered: Dec 2003
Distribution: RH
Posts: 6

Rep: Reputation: 0
Talking Re: Java-no-workee

The last part of the puzzle appears to have been this entry:

/usr/java/j2re1.4.2_03/plugin/i386/ns610-gcc32/libjavaplugin_oji.so:$

present in /root/.mozilla/pluginreg.dat but missing from all other accounts. Oddly enough, the other 31 entries associated with java and the JRE in /root/.mozilla/pluginreg.dat didn't seem to have an effect on high-level java functions such as jumpMenu() and the like (the sort of things you expect to find in HTML host-side redirects). I didn't see any java associations in root's pluginreg.dat that shouldn't be global, so I just added all of them to all user account pluginreg.dat files. Works fine now.

All of you that sent emails on this, thanks! Cleaned the problem up very nicely.
 
Old 03-22-2004, 02:47 AM   #13
onionlee
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 10.0
Posts: 6

Rep: Reputation: 0
Talking got it to work!!!!!

ok, i have mozilla and jdk 1.4.2. both have to be installed. i did it in the gui(gnome), to make it simple. ok. theres jre inside the install of jdk. its in a folder labeled jre. there, there is a folder called plugins. i forgot what it was called and im too lazy too open another browser, but theres 3 folders. theres one that ends on gcc32, open that. theres a .so there. right click it and select make link to. then open a new browser, and go into your netscape folder. go then into plugins folder. move the link of the java .so(this is not the name of the plugin), to the plugin folder of netscape. take off the link to in the name of the plugin. there you go.

if ur confused, just tryit, and ull figure it out.

Last edited by onionlee; 03-22-2004 at 02:48 AM.
 
  


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 for Mozilla 1.7.6 Bariana Linux - Newbie 1 08-23-2005 10:37 AM
Mozilla java plugin no go kills Mozilla skinpainting Red Hat 13 11-30-2003 12:30 PM
Java Plugin in Mozilla 1.2.1 opasch Linux - General 7 08-13-2003 02:46 AM
mozilla 1.4 java-vm plugin Quis Linux - Software 5 06-12-2003 05:54 AM
java plugin for mozilla chlee Linux - Software 4 04-07-2003 06:24 AM


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