LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-09-2003, 04:44 PM   #1
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Rep: Reputation: 30
Trouble with Java Plugin


hi, I have troubles with Java plugin, This page Contains information of type (application/x-java-vm) that can only viewed with the appropiate Pug-in. Click OK to download Plugin shows up, and when I click OK then java.sun.com appears me, then I downloaded the j2re-1_4_2_01-linux-i586.bin file and then unpack the j2re-1_4_2_01-linux-i586.bin, this file created a folder.

Now what I need to do to install the plugin?

Thanks
 
Old 10-09-2003, 04:51 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
You will find a directory called jre/plugin/i386 which contains a number of directories which are tied to the version of your browser. Copy the corresponding libjavaplugin_oji.so to /usr/lib/mozilla/plugins or whatever browser you use.

I have Mozilla Firebird installed to /usr/local/mozilla.org/MozillaFirebird so I dump the .so file from the ns610-gcc32 directory to /usr/local/mozilla.org/MozillaFirebird/plugins.

hw
 
Old 10-09-2003, 08:03 PM   #3
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
Thanks now I copied the libjavaplugin_oji.so from /home/user/Downloads/j2re1.4.2_01/plugin/i386/ns610 to /usr/lib/netscape/plugins and when I open some web page with java applet the Netscape crash and exit,

What could be the problem?
 
Old 10-10-2003, 04:14 AM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Try the ns610-gcc32 one instead.

hw
 
Old 10-10-2003, 05:32 AM   #5
joel112
Member
 
Registered: Apr 2003
Distribution: Debian
Posts: 169

Rep: Reputation: 30
i had the exact same problem,but with mozilla, dont copy the plugin, link to it,

for me i had to do

ln -s /usr/local/development/java_1.4.2_01/jre/i386/ns610-gcc32/libjavaplugin_oji.so /usr/local/mozilla/plugins

then i dont know if its the same for Nutscrape but with mozilla you have to run the browser as root, and then load a page with an applett in it, let it load, clsoe and switch back to your user, and it worked.

as i say, this was on mozilla i dont think there is much difference tho
 
Old 10-10-2003, 08:10 AM   #6
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Quote:
then i dont know if its the same for Nutscrape but with mozilla you have to run the browser as root, and then load a page with an applett in it, let it load, clsoe and switch back to your user, and it worked.
That sounds awfully wrong. Is the .so (plugin file you linked to) executable by everyone? Do a chmod a+x on it and see if the problem goes away.

Browsing as root? Brrrr...sends a cold chill down my spine.

hw
 
Old 10-10-2003, 08:16 AM   #7
joel112
Member
 
Registered: Apr 2003
Distribution: Debian
Posts: 169

Rep: Reputation: 30
i chmodded and it dident work, i just stuck a java applet i wrote on my local server and used that, the only explanation i could find was some quirky mozilla permisstion problem
 
  


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
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
Java Plugin SepitvaOra Linux - Newbie 5 02-13-2005 10:11 PM
java working, java plugin not provkitir *BSD 3 01-12-2005 05:49 PM
trouble installing java plugin on mozilla 1,7c joe83 Slackware 2 06-08-2004 02:35 PM
trouble installing java plugin on mozilla 1,7c joe83 Slackware 1 05-12-2004 10:45 AM

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

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