Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-29-2003, 10:03 PM   #1
LQ Newbie
Registered: Jun 2003
Posts: 9

Rep: Reputation: 0
Mandrake 9.1+Java

Is there a sure fire way to get java working in Mandrake 9.1, globaly/mozilla, without re-compileing, editing, copying, linking, more or less, A SIMPLE WAY?
Old 06-29-2003, 10:32 PM   #2
LQ Guru
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
shoulda been part of the default install, what are you having problems with?
Old 06-30-2003, 12:43 AM   #3
LQ Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
a SIMPLE ways? Well, open mozilla at ROOT, then connect to (or any site that need java) a pop-up will come and say you need to iunstall the java plugin to make it work. Say yes, it will download install and configure alone.
Old 06-30-2003, 01:02 AM   #4
LQ Guru
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Another way is to download JAVA and install JAVA as root or su. Then make a symbolic link from .../java/j2sdk1.4.1_01/jre/plugin/i386/ns600/ in the plugins directory of mozilla. A great way if you want to see how symbolics work.

Be careful running programs as root!!!!
Old 06-30-2003, 01:35 PM   #5
Registered: Feb 2003
Location: Barking, Essex, Britain
Distribution: PCLinuxOS and MX-Linux
Posts: 503

Rep: Reputation: 32
This is the link for the latest Java.

The rpm.bin file just produces a copyright agreement and then exports a good old rpm file when you agree. This can be installed in Mandrake using KPackage, (which is not installed by default and is on Disk 3 of the download edition,) or the usual command line. Personally I always use KPackage where an rpm is not available in urpmi...

For copyright reasons I don't think Mandrake could have put it on the download edition, dunno about the ones you pay for.


Last edited by davecs; 06-30-2003 at 01:36 PM.
Old 06-30-2003, 02:23 PM   #6
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 17 Xfce
Posts: 295

Rep: Reputation: 30
Originally posted by Half_Elf
a SIMPLE ways? Well, open mozilla at ROOT, then connect to (or any site that need java) a pop-up will come and say you need to iunstall the java plugin to make it work. Say yes, it will download install and configure alone.
I have tried with mozilla 1.3 and it has crashed. 3 times (:= more then 2 hours ).

Imo it's better to donwload the java runtime environment from sun's site ( also faster ).
Old 06-30-2003, 04:22 PM   #7
LQ Newbie
Registered: Jun 2003
Posts: 9

Original Poster
Rep: Reputation: 0
now what

OK I downloaded the java.bin, ran it as root, and it extracted/inflated, and now i have /home/myusername/j2re1.4.1_03 folder, but not a /java/......
so now what to do?
thanks for the help.
Old 06-30-2003, 04:27 PM   #8
LQ Newbie
Registered: Jun 2003
Posts: 9

Original Poster
Rep: Reputation: 0

By the way, I did a full install of Mandrake 9.1 there was no java, now with Mozilla, it doesnt ask me to install, just shows the puzzle pc. and if you click it it says you need JavaVM plugin to view. Konqueror just loads page to 99% and says loading applets.......nothing
Old 06-30-2003, 04:49 PM   #9
LQ Newbie
Registered: Jun 2003
Posts: 9

Original Poster
Rep: Reputation: 0
I got it!

Thanks for the link, the RPM did the trick, and then linking, the other thing that I downloaded just sat there.

Im not a "click n drool" I dont mind working a little to get things to work, just needed a little help, Still dont understand why they wouldnt have flash/shockwave, and java installed, but they would have divx codecs?? Anyway, thanks, ill save that RPM for the future.
Old 07-01-2003, 11:54 AM   #10
LQ Newbie
Registered: Jul 2003
Location: NC
Posts: 17

Rep: Reputation: 0
I'm sort of new to linux and am having a similar problem with java.

I just installed Red Hat 9. It came with java1.3.1 I think. I wanted to upgrade this so I downloaded 1.4.1_03. I just downloaded the jre, not the sdk. I followed some HOW-TO's to install it.

It was all installed into /usr/java/j2re1.4.1_03/
When I did java -version I still got the 1.3.1.

So i noticed there was a /java directory on the root and I turned the /java directory into the j2re1.4.1_03 directory. So now the /java directory has the same structure as the j2re1.4.1_03 directory. This did not help my version. However, when I called the whole path it was the right version, ie /java/bin/java -version it came up correctly with version 1.4.1. So I continued looking.

I also set my environment variables by creating /etc/profile.d/
This file contains
export JAVA_HOME=/java/bin
export CATALINA_HOME=/opt/tomcat
export PATH=$PATH:/java/bin
export PATH=$PATH:/java/lib/i386
export LD_LIBRARY_PATH=/java/lib/i386

I found that /usr/bin/java -version was 1.3.1. This was the only place I found 1.3.1 instead of 1.4.1. I thought it would be a good idea to
cp /java/bin/java /usr/bin/java and overide the current java in the /usr/bin so that when I went /usr/bin/java -version I would get 1.4.1

The result was not that at all. Instead I got errors "can't find" "can't find java 2 runtime environment".

I've been trying to fix this problem for about a day now. I uninstalled the 1.4.1 package and put back on 1.3.1_08 and recopied the /usr/bin/java file with the 1.3.1_08 version. This got rid of the error "can't find java 2 runtime environment". I still have "can't find" error. I've looked online and have found no comprehensive solutions.

I think the following solutions would be most helpful to me.
1) Help me fix this problem and end witth the 1.4.1 package or
2) Tell me how I can just get it back to how it was when I installed red hat 9 and I can start over trying to install 1.4.1 cleanly.
Old 08-03-2003, 03:19 PM   #11
LQ Newbie
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
To get games in Yahoo working I did the following:

I downloaded the file from

I went to the directory the file was in and typed install jre....-rpm.bin

It created an rpm file in the directory.
I opened the file using kpackage and installed jre---..

I then opened a terminal and typed:

Went to using mozilla and opened a window.

This worked fine. I then went to konqueror made sure Java was enabled and I could then open the same page in konqueror and it finally worked.


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
Java 1.5 in mandrake 10.1 goofy871 Linux - Software 6 03-15-2005 12:26 PM
Mandrake 10.1 and Java amigatec Mandriva 8 01-04-2005 04:51 PM
java on mandrake irish rebel Linux - Software 0 06-05-2004 09:49 AM
Mandrake 9.2 and java PapaNoHair Mandriva 5 03-15-2004 07:34 PM
java on mandrake razey Linux - Software 11 02-26-2002 06:14 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration