LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-21-2004, 05:47 AM   #1
ks_krishna76
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Rep: Reputation: 0
mozilla & netscape browsers are not able to display java applets


hi all,

I am new to linux, I have installed red hat linux 9 on my system. I want to try some book examples of java. So I have installed j2sdk1.4.2_03 and j2re1.4.2_03 at /usr/java. I have edited the .bash_profile which is at my home directory. I had set the PATH & CLASSPATH variables properly. These were not giving any problems. Java applications were working properly. Now I am trying to run applets. I have opened the html page which contains some little java content on it. In that browser except java content every thing has displayed. If I click on the undisplayed applet it is saying somthing similar to this: application/java-vm is needed. For my sytem there is no internet connection. Then I have gone through the book red hat linux 9 bible, there I got some helpful information, that is copy the libjavaplugin.so from /usr/java/j2re1.4.203/plugin/i386/ns610 to /usr/lib/mozilla/plugins. I did the same but no use. Earlier to this doing the browser is displaying atleast some info, now browser is getting closed without displaying anything.
So I need this help please.
thanks and regards
ShyamKrishna
 
Old 03-21-2004, 07:09 AM   #2
rokka
Member
 
Registered: Feb 2004
Location: .se
Distribution: Ubuntu, debian
Posts: 124

Rep: Reputation: 15
If you choose (in Mozilla) Help->About Plug-ins Do you See the java plugin? It should look something like:
Java(TM) Plug-in 1.4.2_03-b02
File name: libjavaplugin_oji.so
Java(TM) Plug-in 1.4.2_03
...etc.


mmm, hey! you're not supposed to copy the file are you? Here: http://plugindoc.mozdev.org/faqs/java.html it says that you are to create a symbolic link.
 
Old 03-22-2004, 03:20 AM   #3
ks_krishna76
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Original Poster
Rep: Reputation: 0
hi I can't understand what you told, can u please explain me some what clearly. I am new to linux.
 
Old 03-28-2004, 02:38 PM   #4
rokka
Member
 
Registered: Feb 2004
Location: .se
Distribution: Ubuntu, debian
Posts: 124

Rep: Reputation: 15
Quote:
Originally posted by ks_krishna76
hi I can't understand what you told, can u please explain me some what clearly. I am new to linux.
Ok, sorry
1) Start Mozilla.
2) Choose drop-down meny "Help"
3) Choose "About plugins"
If Mozilla now displays something like:
Java(TM) Plug-in 1.4.2_03-b02
File name: libjavaplugin_oji.so
Java(TM) Plug-in 1.4.2_03
...etc.

Java plugin is in fact installed.

If not: There is a very simple and good instruction on how to install java following the link I posted above.

Quote:
that is copy the libjavaplugin.so from /usr/java/j2re1.4.203/plugin/i386/ns610 to /usr/lib/mozilla/plugins. I did the same but no use.
I don't think you should copy this file but rather make a symbolic link to it.
 
Old 03-29-2004, 10:36 PM   #5
ks_krishna76
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Original Poster
Rep: Reputation: 0
symbollic link

hi
I have done the steps specified by you except the symbolic link. I don't know what is a symbolic link. What I did is just copying the libjavaplugin.so to mozilla's plugins directory.
Can you please explain me what is a symbolic link.
thanks and regards
shyam
 
Old 03-29-2004, 11:28 PM   #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
that's wrong. it's recommended you don't make a copy of the plugin in your mozilla plugins directory.

basically, to allow all users access to the java plugin follow these commands in the shell terminal. make sure to use your correct paths

1. su
<enter root password>

2. ln -s /path/to/real/java/plugin /usr/local/mozilla/plugins/file_name_of_java_plugin

again, use your correct paths to the java plugin and your mozilla plugins path. also make sure if you're version of mozilla is 1.4 or greater, to use the java plugin in ns610-gcc32. if the version is less than 1.4, then use the java plugin in ns610. also make sure that the desktop icon and/or command you use to launch mozilla is the correct one. if you've installed mozilla from an install provided by mozilla.org, the command to launch mozilla will most likely be "/usr/local/mozilla/mozilla". your desktop icon should launch that command also. usually mozilla provided by your distro will be in /usr/lib/mozilla-XX.XX where XX.XX is a version number. if this is the case then sub the mozilla plugins path in command #2 to, /usr/lib/mozilla-XX.XX/plugins/file_name_of_java_plugin

hope you get this sorted.

Last edited by megaspaz; 03-29-2004 at 11:34 PM.
 
  


Reply



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
Mozilla flaws could allow attacks, data access into Firefox & Mozilla web browsers! t3gah Linux - Security 6 04-09-2006 04:00 AM
Java mouse over in mozilla/netscape Thrasher Linux - Software 0 01-07-2004 10:58 AM
problems installing java, mozilla & netscape roose Red Hat 5 09-30-2003 01:30 AM
Mozilla/Netscape won't run while Java installed snatale1 Linux - Newbie 4 09-17-2003 10:07 PM
Java Plugin for Netscape 7.02/Mozilla 5.0? gsmonk Linux - Software 3 03-11-2003 01:54 AM

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

All times are GMT -5. The time now is 05: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
Open Source Consulting | Domain Registration