LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-26-2003, 10:26 PM   #1
ricdave
Member
 
Registered: Jan 2002
Posts: 222

Rep: Reputation: 31
!#@$java%%#$konqueror!@#%$mozilla*+%^install


I ran into a problem getting java to work. I did the following:

<<First, create (as root) a "java" subdirectory in the /usr directory. Download the self-extracting (not RPM) file of j2re-1_4_2 from Sun. Move (as root) the file to /usr/java. Cd (as root) to the /usr/java and issue the following 2 commands:

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

Read the instructions and choose "yes" to untar it. When done, issue this command:

ln -s /usr/java/j2re1.4.2/bin/java java

Now, to set java to work with Mozilla, issue (as root) this command:

ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /*/libjavaplugin_oji.so
*Your Mozilla plugin directory

To set java to work with Konqueror, make (as user) path to java executable (KDE Control Center->Internet->Web Browser->Java):

/usr/java/java >>


It doesn't work, and I think I must have left something out. When I try to create link, it tells me no such file or directory.

[root@david java]# ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla_1.3/plugins/libjavaplugin_oji.so
ln: creating symbolic link `/usr/lib/mozilla_1.3/plugins/libjavaplugin_oji.so' to `/usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so': No such file or directory
[root@david java]#

The file that is missing is the /usr/lib/mozilla_1.3/plugins/libjavaplugin

What I have is

/usr/lib/mozilla-1.3/plugins/libnullplugin.so

I thought I was creating the link in the mozilla plugin folder, but I obviously messed up somewhere. Can you help?

TIA David
 
Old 09-27-2003, 03:15 AM   #2
skadub
Member
 
Registered: Sep 2003
Location: La Rochelle, France
Distribution: Mdk 10 Official & LFS 5.1 #5243
Posts: 44

Rep: Reputation: 15
Don't you have a file /usr/java/j2re1.4.2/plugin/i386/ns4/libjavaplugin.so ?
I'm using the java sdk and not the java re so try to do a search in the /usr/java directory to find a file containing the text "javaplugin" and then link the file found to /your/mozilla/plugin/path.
 
Old 09-27-2003, 03:23 AM   #3
lachlan
Member
 
Registered: Jan 2002
Location: New Zealand
Distribution: Mandrake 9.1,Suse 8.2
Posts: 139

Rep: Reputation: 15
Have a look at mozilla.weebeastie.net -How I installed the Java plugin andhttp://mozdev.org ,it just might help you on your way.
As for setting up java in Konqueror try this:Konqueror-settings-Configure Konqueror-Java & Java script-enable java globally-path to java executable or java should look like this:/usr/java/j2re1.4.1_04/bin/java.For good measure you should enable java script globally.
 
Old 09-27-2003, 08:44 AM   #4
ricdave
Member
 
Registered: Jan 2002
Posts: 222

Original Poster
Rep: Reputation: 31
<<Don't you have a file /usr/java/j2re1.4.2/plugin/i386/ns4/libjavaplugin.so ?
I'm using the java sdk and not the java re so try to do a search in the /usr/java directory to find a file containing the text "javaplugin" and then link the file found to /your/mozilla/plugin/path.>>

Yes, I do. The problem seems to be with the link. I may have syntax wrong, but I am not sure how. This is what happened when I tried ns4:

[root@david david]# ln -s /usr/java/j2re1.4.2/plugin/i386/ns4/libjavaplugin_oji.so /usr/lib/mozilla_1.3/plugins/libjavaplugin_oji.so
ln: creating symbolic link `/usr/lib/mozilla_1.3/plugins/libjavaplugin_oji.so' to `/usr/java/j2re1.4.2/plugin/i386/ns4/libjavaplugin_oji.so': No such file or directory
[root@david david]#

It looks like a link command failed, and I am not sure which one.
 
Old 09-28-2003, 03:45 AM   #5
skadub
Member
 
Registered: Sep 2003
Location: La Rochelle, France
Distribution: Mdk 10 Official & LFS 5.1 #5243
Posts: 44

Rep: Reputation: 15
Quote:
Originally posted by ricdave
[root@david david]# ln -s /usr/java/j2re1.4.2/plugin/i386/ns4/libjavaplugin_oji.so /usr/lib/mozilla_1.3/plugins/libjavaplugin_oji.so
ln: creating symbolic link `/usr/lib/mozilla_1.3/plugins/libjavaplugin_oji.so' to `/usr/java/j2re1.4.2/plugin/i386/ns4/libjavaplugin_oji.so': No such file or directory
[root@david david]#

It looks like a link command failed, and I am not sure which one.
The link syntax is correct, but it just says that the file `/usr/java/j2re1.4.2/plugin/i386/ns4/libjavaplugin_oji.so doesn't exist.
Can you tell me what's the content of the directory /usr/java/j2re1.4.2/plugin/i386/ns4 ?
 
Old 09-28-2003, 05:01 PM   #6
ricdave
Member
 
Registered: Jan 2002
Posts: 222

Original Poster
Rep: Reputation: 31
<< The link syntax is correct, but it just says that the file `/usr/java/j2re1.4.2/plugin/i386/ns4/libjavaplugin_oji.so doesn't exist.
Can you tell me what's the content of the directory /usr/java/j2re1.4.2/plugin/i386/ns4 ?>>

libjavaplugin_oji.so

it is a 275.3 KB shared library rwxe-xr-x

I also cannot get it to work in konqueror, and I have tried all the combos, Global, not global, ns4, ns610, etc. Have also scratched java and re-downloaded and re-installed several times in case of corrupted download. I know the answer is simple: I just can't see it.
 
Old 09-28-2003, 05:02 PM   #7
ricdave
Member
 
Registered: Jan 2002
Posts: 222

Original Poster
Rep: Reputation: 31
<<it is a 275.3 KB shared library rwxe-xr-x>>

ooops! rwxr-xr-x
 
Old 09-28-2003, 05:11 PM   #8
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
[root@david java]# ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla_1.3/plugins/libjavaplugin_oji.so
ln: creating symbolic link `/usr/lib/mozilla_1.3/plugins/libjavaplugin_oji.so' to `/usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so': No such file or directory
[root@david java]#

libjavaplugin_oji.so

last part of link

should read
ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla_1.3/plugins/

to create new link in folder
its saying there is no such folder or file in there
you are putting one in there

EDIT: the plugin in ns4 doesnt have th "_oji." part

Last edited by ehdwuld; 09-28-2003 at 05:17 PM.
 
Old 09-28-2003, 05:42 PM   #9
ricdave
Member
 
Registered: Jan 2002
Posts: 222

Original Poster
Rep: Reputation: 31
<<should read
ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla_1.3/plugins/

EDIT: the plugin in ns4 doesnt have th "_oji." part>>

Correct on ns4, only one which does not have that.

[root@david plugins]# ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin.so /usr/lib/mozilla_1.3/plugins/
ln: creating symbolic link `/usr/lib/mozilla_1.3/plugins/' to `/usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin.so': No such file or directory
[root@david plugins]#

I seem to be running in circles.
 
Old 09-28-2003, 05:49 PM   #10
ricdave
Member
 
Registered: Jan 2002
Posts: 222

Original Poster
Rep: Reputation: 31
<<I seem to be running in circles.>>

circles of my own making!!!

[root@david plugins]# ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so/usr/lib/mozilla_1.3/plugins/
[root@david plugins]#

Ya know, sometimes you just feel, like, really really thick. thanx for bearing with me. Now to see if it works
 
Old 09-28-2003, 06:16 PM   #11
ricdave
Member
 
Registered: Jan 2002
Posts: 222

Original Poster
Rep: Reputation: 31
<<Ya know, sometimes you just feel, like, really really thick. thanx for bearing with me. Now to see if it works>>

Nope, still doesn't work. Looks like I have some more reading to do. thanx for the help so far. David
 
Old 09-29-2003, 03:35 PM   #12
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
ok from your previous post

[root@david plugins]# ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so/usr/lib/mozilla_1.3/plugins/
[root@david plugins]#

if you are in the plugin directory of mozilla or netscape you can leave off the <destination part of the link command
also if you decide to put it in you should have a space between the <source> and <destination>

just noticed that


Edit:don't let the typo's mess with ya


Last edited by ehdwuld; 09-29-2003 at 03:38 PM.
 
Old 09-29-2003, 04:09 PM   #13
ricdave
Member
 
Registered: Jan 2002
Posts: 222

Original Poster
Rep: Reputation: 31
It works!!! I know that this is not the "approved" way of getting this done but:

opened shell
su root
cd /usr/bin
./mozilla

Navigate to netscape:

http://wp.netscape.com/plugins/index.html

click on find plugins
find platform and click on linux
click on java
click on download and install

Not very elegant, but it WORKED. Yaaayyyyy
 
Old 09-29-2003, 04:11 PM   #14
ricdave
Member
 
Registered: Jan 2002
Posts: 222

Original Poster
Rep: Reputation: 31
Incidentally, thanx for the help. We learn far more from our failures than our successes.

David
 
  


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, Konqueror & Mozilla Tuvok Linux - Software 26 10-23-2004 05:11 PM
Java Runtime and Konqueror + Mozilla nrunge Linux - Software 1 03-22-2004 09:24 PM
How doI install JAVA in konqueror? akihandyman Linux - Newbie 4 02-11-2004 10:17 PM
Still can't install java please help Mozilla waheedrafiq Linux - Software 6 12-31-2003 03:49 AM
Java Applet in Konqueror and Mozilla Ciccio Linux - General 4 12-10-2002 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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