Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
a SIMPLE ways? Well, open mozilla at ROOT, then connect to yahoo.games (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.
Easy.
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/libjavaplugin_oji.so in the plugins directory of mozilla. A great way if you want to see how symbolics work.
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.
Originally posted by Half_Elf a SIMPLE ways? Well, open mozilla at ROOT, then connect to yahoo.games (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.
Easy.
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 ).
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.
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
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.
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/java.sh
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 libjava.so" "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 libjava.so" 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.