LinuxQuestions.org
Visit Jeremy's Blog.
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-19-2003, 06:59 AM   #1
romcgill
Member
 
Registered: Jan 2003
Location: New Zealand
Distribution: Windows 95, Lycoris desktopLX
Posts: 112

Rep: Reputation: 15
install RPM Java plug in for mozilla


Hi,

I have Mandrake 9. To use a support group I go to, I need Java plug in for browser. I downloaded this in mozilla and followed the instructions from the java/sun site (I thought). I am a newbie so maybe not doing it correctly.

The instructions say:
Run the installation script and agree to the licence.
Launch the installation script by using the following commands from the directory in which it is located:

chmod a+x j2re-1_4_1_02-linux-i586-rpm.bin

./j2re-1_4_1_02-linux-i586-rpm.bin

The script displays a binary licence agreement etc etc


I follow above instructions but don't get the agreement.

It was downloaded to
/home/rose/Downloads
so I assume I get into the home directory, in my case
rose@funtime.home

I guess I am doing this incorrectly somehow. Can someone help please.

Thanks in advance
Rose
 
Old 03-19-2003, 09:15 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Does it give any sort of error message?
 
Old 03-19-2003, 06:35 PM   #3
romcgill
Member
 
Registered: Jan 2003
Location: New Zealand
Distribution: Windows 95, Lycoris desktopLX
Posts: 112

Original Poster
Rep: Reputation: 15
RPM install of Java

Okay - I have tried this using the following directories/files.
rose@funtime home
rose@funtime rose
rose@funtime Downloads

just in case I was in the wrong place.


"ls rose/ " lists files and directories some white some blue. A blue one is Downloads.

"ls Downloads" says no such file or directory.

I tried the "chmod" from all the places mentioned above and get:
"failed to get attributes of j2re....."

In Konqueror I can see the file.

Thanks for responding
Rose
 
Old 03-19-2003, 07:14 PM   #4
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
In the console, or virtual console if in X at the prompt you would type

cd /home/rose/downloads

Then follow the instructions given by Sun, while in this directory.

You would type:


chmod a+x j2re-1_4_1_02-linux-i586-rpm.bin
./j2re-1_4_1_02-linux-i586-rpm.bin

Then the license will appear scroll through using space

When you use rpm -Uhv j2re*.rpm

This will then install the java files, probably to /usr/java/j2re-1_4_1_02

Then to install the plugin you will have to be root

/usr/java/j2re1.4.1/bin/ControlPanel -r ns610 -c /where/mozilla/directory -j /usr/java/j2re1.4.1

Hope this helps
 
Old 03-20-2003, 06:41 AM   #5
romcgill
Member
 
Registered: Jan 2003
Location: New Zealand
Distribution: Windows 95, Lycoris desktopLX
Posts: 112

Original Poster
Rep: Reputation: 15
java install to mozilla

Hi,
Thanks for your replies.

I get
"failed to get attributes of j2re* " at the chmod command.

Since then I have had a bit more luck and it seemded to install as I got the licence agreement etc. But got this line
j2re-1_4_1_02-fcs-linux-i586.rpm

It has added the "fcs".

When I went to the website however I still was told I needed the plug in. I'll have another go. Actually the website doesn't display properly, all lines across it. Any ideas?

Thanks
Rose
 
Old 03-20-2003, 07:10 AM   #6
romcgill
Member
 
Registered: Jan 2003
Location: New Zealand
Distribution: Windows 95, Lycoris desktopLX
Posts: 112

Original Poster
Rep: Reputation: 15
java plug-in mozilla

Hi,
Well I'm still pluggin away here. I am a real newbie as you probably have guessed.

It now tells me it's installed in the console window.

When I type the /usr command which includes the Control Panel bit, it tells me "no such command" (Ithink).

I've checked and java is in /usr It's /usr/java/j2re1.4.1_02

Maybe I need the o2 in the command line?

Rose
 
Old 03-20-2003, 07:18 AM   #7
romcgill
Member
 
Registered: Jan 2003
Location: New Zealand
Distribution: Windows 95, Lycoris desktopLX
Posts: 112

Original Poster
Rep: Reputation: 15
java mozilla

Me again!

Tried the command beginning /usr again. Now I get "Invalid Container Location. /where/mozilla/directory


We're getting there though :-)

Thanks
Rose
 
Old 03-20-2003, 02:07 PM   #8
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
I'm not sure about Mandrake but for Red Hat I had to use this

/usr/java/j2re1.4.1/bin/ControlPanel -r ns610 -c /usr/lib/mozilla-1.0.1 -j /usr/java/j2re1.4.1

To find your mozilla directory that has the plugins folder use this in virtual console

find /usr -name plugins -print

It should bring up where your mozilla plugins folder is, then just don't include the /plugins in the command

RH brought this up

/usr/lib/mozilla-1.0.1/plugins so I use /usr/lib/mozilla-1.0.1 in the command listed above for installing the java plugin.

Once it works go into mozilla go to Help then about plugins and you should see that java has been included.

Good Luck, Glad to see you plugging away at it and not quiting it's all worth it in the end.
 
Old 03-20-2003, 04:56 PM   #9
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
What I did was create a sim link like this:

ln -s /usr/java/j2re1.4.1_02/plugin/i386/ns610/libjavaplugin_oji.so /usr/local/phoenix/plugins

Now this is how you install the plugin for the phoenix browser. In your case you need to find where mozilla is installed. Do:

whereis mozilla

It should spit back something like:

mozilla: /usr/local/mozilla

If that is where mozilla is installed for you then you want to replace

/usr/local/phoenix/plugins

to

/usr/local/mozilla/plugins

Hope that helps!
 
Old 03-21-2003, 02:19 AM   #10
romcgill
Member
 
Registered: Jan 2003
Location: New Zealand
Distribution: Windows 95, Lycoris desktopLX
Posts: 112

Original Poster
Rep: Reputation: 15
java install to mozilla

Okay - thanks again.

I used

find /usr -name plugins -print and found

/usr/lib/mozilla_1.1/plugins

I used that in the command as given Jay, but it siad something like no such command. I need to get these meassages properly!

So - I tried the "whereis" and got

/usr/bin/mozilla/usr/share/man/man/mozilla/.bzz

Not sure about that bzz now. I copied it from the screen. I think there is a way to copy that? If so how. Thanks
Rose
 
Old 03-21-2003, 02:05 PM   #11
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
/usr/java/j2re1.4.1/bin/ControlPanel -r ns610 -c /usr/lib/mozilla-1.0.1 -j /usr/java/j2re1.4.1

I forgot you have to be root and you must put a period in front of /usr, new command looks like this, sorry I forgot about /usr/java not being in a path automatically:


./usr/java/j2re1.4.1/bin/ControlPanel -r ns610 -c /usr/lib/mozilla-1.0.1 -j /usr/java/j2re1.4.1

btw, if you ever want to execute a command and the path isn't in your profile always put a ./ then type the command path for it to execute.
 
Old 03-21-2003, 03:58 PM   #12
mad_ady
Member
 
Registered: Jan 2003
Location: I'm all in your mind!
Distribution: Debian
Posts: 248

Rep: Reputation: 30
romcgill: to verify that you browser supports the newly installed java, type in mozilla's address bar the following (without quotes):

"about:plugins"

It should display among others a list of java application types. Check to see if application/x-java-vm is anywhere on that list. I think it's the most important.

If everything seems ok but your site still doesn't work, use netscape to view it (or download netscape). It should automatically use mozilla's plugins, so there is no worries.

Good luck
 
Old 03-21-2003, 06:00 PM   #13
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
Sorry missed this vital piece of info you gave:


Quote:
find /usr -name plugins -print
Quote:
/usr/lib/mozilla_1.1/plugins
Use this command:

./usr/java/j2re1.4.1/bin/ControlPanel -r ns610 -c /usr/lib/mozilla_1.1 -j /usr/java/j2re1.4.1

Type in that command letter for letter and it should work.

Let me know how it goes

Last edited by JayCnrs; 03-21-2003 at 06:02 PM.
 
Old 03-22-2003, 01:28 AM   #14
romcgill
Member
 
Registered: Jan 2003
Location: New Zealand
Distribution: Windows 95, Lycoris desktopLX
Posts: 112

Original Poster
Rep: Reputation: 15
java install mozilla

I used the command from previous message - just changing the bit about the mozilla plugin location. It seemed to work as I looked in help in mozilla and java is listed and enabled. When I went to the group it took forever to load the applet and I actually gave up waiting. Will have another go.

I have also downloaded a flashplayer, I guess I follow a similar process to install that?

Thanks
Rose
 
Old 03-22-2003, 02:10 AM   #15
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Rep: Reputation: 30
Run Mozilla as root and go here
Double click on flash. Enjoy. You can also install the spellchecker for Mozilla Mail.
 
  


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 Java Plug-in zadox Linux - Newbie 2 02-17-2005 10:39 PM
installing java plug ins for mozilla 627_627 Linux - Newbie 2 07-19-2004 02:17 AM
Java-VM plug-in doesn't install when it says it does... amphibious Linux - Software 1 04-22-2004 06:29 AM
How to install java plug-in? timberwolf Mandriva 2 12-09-2003 03:01 AM
trying to install java plug-in rayflynn Linux - General 2 09-01-2001 12:38 PM

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

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