LinuxQuestions.org
Visit Jeremy's Blog.
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 11-21-2003, 08:19 PM   #1
wolftechmn
Member
 
Registered: Nov 2003
Posts: 33

Rep: Reputation: 15
How to install Java for mandrake 9,2


Does anyone know how to get java installed on madrake for mozilla and konquer? it seems like it installs but it never works with the browsers any help would be great
 
Old 11-21-2003, 10:57 PM   #2
estatik
Member
 
Registered: Oct 2003
Location: CA / NY
Distribution: Mandrake 9.1, 9.2, 10.1, Cooker
Posts: 145

Rep: Reputation: 15
Depending on which java packages you have installed, I could only share the steps on what I had installed (j2re1.4.2_02) to my 9.2.

Since you had said you installed java, presuming it's the afore-mentioned package, all you need to do is make a symbolic link to your mozilla and konqueror browsers.

For mozilla:

$ cd /usr/lib/mozilla/plugins
$su
enter root password
# ln -s /usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
(you can replace the path corresponding to where your libjavaplugin_oji.so is located)
Go into mozilla's preferences and make sure you have java enabled.


For konqueror:

Start > Configuration > KDE > WebBrowsing > Java & Java Script
Under the "Java" tab, where "Path to Java executable, or 'java'" is, simply type in the path to where your java executable is. Mine is /usr/java/j2re1.4.2_02/bin/java. And enable java globally.

Have fun!

estatik
 
Old 12-04-2003, 04:22 PM   #3
ricdave
Member
 
Registered: Jan 2002
Posts: 222

Rep: Reputation: 31
<<< Depending on which java packages you have installed, I could only share the steps on what I had installed (j2re1.4.2_02) to my 9.2. >>>

Did that really work for Konqueror? Java works fine in Mozilla 1.4. I am using 1.4.2_02.
However, it does not work in Konqueror. I don't think Konqueror will work with 1.4.2_02.
 
Old 12-04-2003, 09:50 PM   #4
estatik
Member
 
Registered: Oct 2003
Location: CA / NY
Distribution: Mandrake 9.1, 9.2, 10.1, Cooker
Posts: 145

Rep: Reputation: 15
Quote:
However, it does not work in Konqueror. I don't think Konqueror will work with 1.4.2_02.
Hmmm...I dunno why it doesn't work for you, but like I had posted, it works like a charm. Did you set the path to java executable right? Anyone else using j2re1.4.2_02 and have java working with konqueror?

estatik

edit: I guess there might be those in doubt that don't believe that j2re1.4.2_02 will work in konqueror in 9.2, since no one has bothered to reply. So just to erase all doubt, you can see a screenshot of my 9.2 will j2re1.4.2_02 in action here (just right click a view image).

'When in doubt, never assume anything, closing your mind and believing in only that you know is to be true. Open it up to a world and let it expand to see the unbelievable possibilities' ~anonymous

Last edited by estatik; 12-05-2003 at 01:04 PM.
 
Old 12-05-2003, 06:24 PM   #5
ricdave
Member
 
Registered: Jan 2002
Posts: 222

Rep: Reputation: 31
<<< Did you set the path to java executable right? Anyone else using j2re1.4.2_02 and have java working with konqueror >>>

Pretty sure I did. As I said, works fine with Mozilla 1.4 and Galeon 1.3.8, though a little slow to load in either. But Konqueror just sits there and says 'no executable found'
 
Old 12-05-2003, 06:52 PM   #6
estatik
Member
 
Registered: Oct 2003
Location: CA / NY
Distribution: Mandrake 9.1, 9.2, 10.1, Cooker
Posts: 145

Rep: Reputation: 15
Well, I don't know what to tell you, but as you can see from the link in my previous post , I do have java working perfectly with konqueror. Maybe you can double check your path to java executable again...I've seen where some people install java as user and the executable ends up in /usr/local/java/j2re1.4.2.02/...

Also, sorry for the stupid questions, but, did you scan for new plugins in kde ' plugin control module and enabled java? You might want to set a path to your java executable directory to scan.

Other than that, I see that 9.2 as still buggy/quirky...in mozilla 1.4/firebird 0.7, my flash won't render one day, then work fine another...go figure

estatik
 
Old 12-09-2003, 10:52 AM   #7
Coume
Member
 
Registered: Nov 2003
Location: France
Distribution: Gentoo
Posts: 30

Rep: Reputation: 15
Quote:
Originally posted by estatik
Depending on which java packages you have installed, I could only share the steps on what I had installed (j2re1.4.2_02) to my 9.2.

Since you had said you installed java, presuming it's the afore-mentioned package, all you need to do is make a symbolic link to your mozilla and konqueror browsers.

For mozilla:

$ cd /usr/lib/mozilla/plugins
$su
enter root password
# ln -s /usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
(you can replace the path corresponding to where your libjavaplugin_oji.so is located)
Go into mozilla's preferences and make sure you have java enabled.
Hello,
I downloaded J2re the same one than your and then installed it...

But I search my entire website for the file libjavaplugin_oji.so, I cannot find it...
And if I try to reinstall the package it says that it is correctly installed...

Any idea how to try to remove it, and then reinstall it?

I hope one day, I will manage to have java working

Cheers,
Ludo
 
Old 12-09-2003, 03:13 PM   #8
estatik
Member
 
Registered: Oct 2003
Location: CA / NY
Distribution: Mandrake 9.1, 9.2, 10.1, Cooker
Posts: 145

Rep: Reputation: 15
Quote:
But I search my entire website for the file libjavaplugin_oji.so, I cannot find it...
??? I don't understand why you are searching "my entire website"...

Did you make a symlink to libjavaplugin_oji.so?

If your open up a file browser, such as konqueror, and browse in your /usr directory, libjavaplugin_oji.so should be in there, e.g., /usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32/libjavaplugin_oji.so or /usr/local/j2re1.4.2_02/plugin/i386/ns610-gcc32/libjavaplugin_oji.so...depending on how you installed it.

Or you can go to KDE kicker -> Applications -> File tools -> Find files and enter libjavaplugin_oji.so and make sure you select "File:/" in the pull-down menu for "Look in:". That should tell you where it is.

Did you set your path to java executable in konqueror and enabled java? How about for mozilla/firebird/etc.? Read my previous post and if you still can't find it, then post back and I'll try to help further.

estatik

Last edited by estatik; 12-09-2003 at 03:15 PM.
 
Old 12-09-2003, 06:43 PM   #9
ricdave
Member
 
Registered: Jan 2002
Posts: 222

Rep: Reputation: 31
I have java working, kind of, in Mozilla, Galeon, and Firebird. Loads on-line Java games very slowly and performance is very sluggish. Won't work in Konq at all.
 
Old 12-10-2003, 12:12 AM   #10
estatik
Member
 
Registered: Oct 2003
Location: CA / NY
Distribution: Mandrake 9.1, 9.2, 10.1, Cooker
Posts: 145

Rep: Reputation: 15
Quote:
Did that really work for Konqueror? However, it does not work in Konqueror. I don't think Konqueror will work with 1.4.2_02.
Quote:
I have java working, kind of, in Mozilla, Galeon, and Firebird. Loads on-line Java games very slowly and performance is very sluggish. Won't work in Konq at all.
I guess what works for some won't work for others...

When you state "Won't work in Konq at all.", This leads me to believe that you STILL doubt that java works in konqueror, otherwise you wouldn't have posted your negative disbelief in such the manner you did. Well, proof is in the pudding and I believe I have proved it otherwise.

Quote:
Pretty sure I did. As I said, works fine with Mozilla 1.4 and Galeon 1.3.8, though a little slow to load in either. But Konqueror just sits there and says 'no executable found'
As I have asked you before, and I'll ask you again, where is you path to java executable in konqueror?

It just seems a bit odd that I got java working perfectly, with hardly no lag what-so-ever in konqueror/mozilla 1.4/firebird 0.7 and yet, your problems with java leaves me to believe that you have something not set right. Believe me, I had my share of problems with java, but it's such a simple "learn from your/others' errors/mistakes". How about posting exactly which j2re package you have installed and list all the symlinks/paths you have set.

estatik

Last edited by estatik; 12-10-2003 at 12:15 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
Req:- how to Install java in mandrake 10.1 bihag Linux - Newbie 3 09-07-2005 03:11 AM
How to install & run Java and Mysql on Mandrake 10.1. 2455 Linux - General 1 08-12-2005 10:04 AM
Advice about java 1.42 install in Mandrake 10 offical Ohmn Mandriva 3 06-21-2004 01:58 PM
java install problems have read postings mandrake 9.1 tewaru Linux - Newbie 3 05-07-2004 02:26 AM
java and flashplayer install problems on Mandrake 9.1 gasfrog Linux - Newbie 14 07-20-2003 06:12 PM

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

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